Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Commit

Permalink
deploy.sh: Don't fail if the Dockerfile can't be committed (possibly …
Browse files Browse the repository at this point in the history
…because it already had the correct version in it).
  • Loading branch information
fabianonline committed Mar 8, 2018
1 parent dcdc313 commit 79b68bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79b68bd

Please sign in to comment.