Skip to content

spenserblack/release.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

release.sh

This is a simple script that I use to create GitHub releases.

It pairs well with this action.

It starts with a RELEASE_NOTES file, in which I write notes for a pending release in Markdown format. When I'm ready to create a release, I run release.sh tag-name, which uses RELEASE_NOTES for the tag message. To support Markdown, it uses --cleanup=verbatim to use the exact text in RELEASE_NOTES as the commit message, including lines that start with #.

When creating pre-releases, you can set RELEASESH_PRERELEASE to 1. If you're not creating a pre-release, then the script will clear the contents of RELEASE_NOTES and commit newly empty version.

About

My preferred way of making tags for releases

Topics

Resources

License

Stars

Watchers

Forks

Languages