1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-12-26 14:45:34 +00:00

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

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