From 65ae4f4a8601c43f9fd42959a19b851a883389e7 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Thu, 8 Mar 2018 22:21:07 +0100 Subject: [PATCH] Fixed typo in deploy.sh --- deploy.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index 2d71306..4ba05ea 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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."