Fixed typo in deploy.sh

This commit is contained in:
Fabian Schlenz 2018-03-08 22:21:07 +01:00
parent 9f9d9fd183
commit 65ae4f4a86
1 changed files with 0 additions and 3 deletions

View File

@ -22,7 +22,6 @@ source "deploy.secret.sh"
[ -z "$TOKEN" ] && error "TOKEN is not set or empty."
CURL_OPTS="-u fabianonline:$TOKEN"
set -x
git diff-files --quiet --ignore-submodules -- || error "You have changes in your working tree."
@ -32,8 +31,6 @@ branch_name=$(git symbolic-ref HEAD 2>/dev/null)
branch_name=${branch_name##refs/heads/}
[ "$branch_name" == "master" ] || error "Current branch is $branch_name, not master."
exit 2
echo "Updating the Dockerfile..."
sed -i "s/ENV JAR_VERSION .\+/ENV JAR_VERSION $VERSION/g" Dockerfile || error "Couldn't modify Dockerfile."