mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2025-06-28 19:36:25 +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:
@ -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
|
||||
|
Reference in New Issue
Block a user