Step-by-step instructions for creating Github Releases like the pros.
- a more-or-less stable
devbranch ready to be merged into master
VERSION.txtfile holding release version
Pro Tip: keep release cycles short, release often!
VERSION.txtin your dev branch and fill it with the release number (e.g. 1.0-alpha1)
- merge the master branch into dev
- merge the dev branch back into master
- go to the Github page holding your project and:
- select releases
- select Draft a new release
- fill in 1.0-alpha1 as the Tag version
- target the master branch
- doublecheck before pressing the “Publish release” button
That’s all there’s too it, your first release.
Note: to prevent future merge conflicts caused by e.g. bugfixes… regularly merge master into dev!
Now that the release is out, it’s time to start work on the next one
VERSION.txtin the dev branch with the next release number (e.g. 1.0-alpha2)
- commit and push change to dev
- add features to your dev branch
Once you are ready to publish a new release… simply restart
Creating the release but skip step 1.