Signed Tagged Release
Jump to navigation
Jump to search
This may be useful in the future for someone.
This shows you how to sign tag a release from release branch.
Overview
Some software releases require a process to tag a release in the codebase in Gitlab or other git software like GitHub.
This is example for project/release-name-v0.1
git remote -v origin git@git.pyr8.io:/jeremybusk/project (fetch) origin git@git.pyr8.io:/jeremybusk/project (push) upstream git@git.pyr8.io:repo/project (fetch) upstream git@git.pyr8.io:repo/project (push)
git checkout -b release-name-v0.1 upstream/release-name-v0.1 --track git pull git status
YOU WILL SEE:
On branch release-name-v0.1
Your branch is up to date with 'upstream/release-name-v0.1'.
git tag -l # lists current tags - git fetch --tags git log # you can see latest commit - should be a merge from master
Merge pull request #1999 from project/master
Merge from master to NAME v0.1 release branch for Release v0.1.1
git tag -s v0.1.1 -m "release v0.1.1" git push upstream v0.1.1 # push tag to upstream
If you mess up on tag/push just delete the release and tag in github and do the process again.