Skip to content

Instantly share code, notes, and snippets.

@sholloway
Last active April 28, 2023 14:51
Show Gist options
  • Save sholloway/4463126 to your computer and use it in GitHub Desktop.
Save sholloway/4463126 to your computer and use it in GitHub Desktop.
procedure for releasing to github
#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