From 79b68bd93d0b1bdf297d82c3672164da625b88e6 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Thu, 8 Mar 2018 22:23:20 +0100 Subject: [PATCH] deploy.sh: Don't fail if the Dockerfile can't be committed (possibly because it already had the correct version in it). --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 4ba05ea..db62fd4 100755 --- a/deploy.sh +++ b/deploy.sh @@ -35,7 +35,7 @@ echo "Updating the Dockerfile..." sed -i "s/ENV JAR_VERSION .\+/ENV JAR_VERSION $VERSION/g" Dockerfile || error "Couldn't modify Dockerfile." echo "Committing the new Dockerfile..." -git commit -m "Bumping the version to $VERSION" Dockerfile || error "Couldn't commit the new Dockerfile." +git commit -m "Bumping the version to $VERSION" Dockerfile echo "Tagging the new version..." git tag -a "$VERSION" -m "Version $VERSION" || error