github-release: Publishing a bash scriptSeptember 19, 2017
About a month ago I did the following life hack:
cd ~/bin && git init
I am not a Linux guy and am using a Macbook for development. All things bash and unix are fairly new to me so take everything with a grain of salt. But I since I started writing little scripts I figured it would make sense to put them under version control. And indeed, instead of copying and deleting things I am growing a custom set of aliases and scripts thanks to Git. One of the scripts has matured into a small tool that I use for personal projects as well as work projects at WebKinder. I called it github-release and published it as its own repository on GitHub yesterday 1. On GitHub I describe it as “A bash script to draft a new GitHub release with an automatically generated changelog.”. It basically combines a commit message convention, a custom
git log and a GitHub API call to create new GitHub releases with pre-populated changelogs. Check out the repository for all the details if you are interested!