Last active
April 28, 2023 14:51
-
-
Save sholloway/4463126 to your computer and use it in GitHub Desktop.
procedure for releasing to github
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#first checkout master | |
git checkout master | |
#merge the dev branch | |
git merge dev | |
#get the log of commits and add them to the readme | |
git log --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=short | |
#tag the commit | |
tag -m "the tag comment" version_number commit | |
#example | |
#git tag -m "v0.0.5" v0.0.5 90ba964 | |
#push tags to github | |
git push origin --tags | |
#push head to github | |
git push origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment