Archiving this repository since I've made a very similar one here.
I like to write release notes in an annotated tag message.
I want to be able to write them in Markdown format, so that
they can easily be translated to GitHub release notes.
However, there's a problem stopping me from being able to do this:
#
to ######
are headers in Markdown, but comments in git messages.
This git extension is a shortcut to
- Change the comment character to
;
- Start
git tag -a <tag name>
- Revert back to the previous comment character (or unset it if it wasn't set)
- Push the tag to the remote repo (
remote.origin.url
)
This pairs well with my Tag to Release action.
curl https://raw.githubusercontent.com/spenserblack/git-release/HEAD/install.sh | sh
git release <tag name> [commit-ish]