Using Git tag to create

Tagging a release and I am documenting the steps and commands I use to do this

git pull
git describe --tags $(git rev-list --tags --max-count=1)
git tag "next_tag"
git push --tags

git pull Pull down the latest and synchronize

git rev-list --tags --max-count=1 Get all the tags and then take the first item (which should be the last released tag)

git describe --tags Describe the tag from the input of the SHA commit hash from above

git describe --tags $(git rev-list --tags --max-count=1) Compound command to get the latest git tag by SHA hash and then display

git tag "next_tag" Create a new tag from the current repository branch with the name of "next_tag"

git push --tags Push the local tag to the remote