prepare release, update gems

This commit is contained in:
Christian Mehlmauer
2017-07-08 01:10:00 +02:00
parent 1f42ce6e2f
commit d29de83c41
4 changed files with 34 additions and 22 deletions

12
bin/update_gems Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
cd $DIR/../
docker run -it --rm -v "$DIR/../":/wpscan -w /wpscan ruby:2.4 bundle update