Skip to content

Commit

Permalink
update docker-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
bluet committed Mar 24, 2023
1 parent 9bee4a7 commit d7dfd10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ docker scan bluet/proxybroker2:latest
docker tag bluet/proxybroker2:latest bluet/proxybroker2:${VERSION}

while true; do
read -p "Add new git tag v${VERSION} and push? (Have you git add and git commit already?) [y/N]" yn
read -p "Add new git tag ${VERSION} and push? (Have you git add and git commit already?) [y/N]" yn
case $yn in
[Yy]* ) git tag "v${VERSION}" -a -m "v${VERSION}" && git push && git push --tags; break;;
[Yy]* ) git tag "${VERSION}" -a -m "${VERSION}" && git push && git push --tags; break;;
[Nn]* ) exit;;
* ) echo "";;
esac
Expand Down

0 comments on commit d7dfd10

Please sign in to comment.