Skip to content

Instantly share code, notes, and snippets.

@luizpaulogodoy
Last active June 8, 2018 01:21
Show Gist options
  • Save luizpaulogodoy/b6c9453319155e41c5df0edc3faf7808 to your computer and use it in GitHub Desktop.
Save luizpaulogodoy/b6c9453319155e41c5df0edc3faf7808 to your computer and use it in GitHub Desktop.

Deploy using git tag

Update VERSION file

Check current tag version

$ git tag

Create new tag

$ git tag -a vx.x.x -m "tag message vx.x.x"

Show tag

$ git show vx.x.x

Push tag

$ git push origin vx.x.x

Delete tag

remote

$ git push --delete origin vx.x.x

local

$ git tag -d vx.x.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment