mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-11-26 02:06:30 +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:
parent
dcdc313c8b
commit
79b68bd93d
@ -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."
|
sed -i "s/ENV JAR_VERSION .\+/ENV JAR_VERSION $VERSION/g" Dockerfile || error "Couldn't modify Dockerfile."
|
||||||
|
|
||||||
echo "Committing the new 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..."
|
echo "Tagging the new version..."
|
||||||
git tag -a "$VERSION" -m "Version $VERSION" || error
|
git tag -a "$VERSION" -m "Version $VERSION" || error
|
||||||
|
Loading…
Reference in New Issue
Block a user