deploy.sh: Don't fail if the Dockerfile can't be committed (possibly because it already had the correct version in it).

This commit is contained in:
Fabian Schlenz 2018-03-08 22:23:20 +01:00
parent dcdc313c8b
commit 79b68bd93d
1 changed files with 1 additions and 1 deletions

View File

@ -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