forked from ZoneMinder/zoneminder
-
Notifications
You must be signed in to change notification settings - Fork 1
How to make a release
Isaac Connor edited this page Dec 13, 2013
·
12 revisions
This document will details the steps required to be taken in order for a new release to be made. These examples assume you are releasing 1.26.4, with the previous version being 1.26.3.
- git pull
- Update /configure.ac
- Update /version
- Update /CMakeLists.txt
- Update /distros/debian/changelog
- Update /distros/ubuntu1204/changelog
- git add .
- git commit -m 'Bumping to version $version'
- git push origin master
- Create the tag
If you're not using GPG, replace
-swith-a
git shortlog --format='[%h] %s' v1.26.3..HEAD|git tag -s -F - v1.26.4
- Push the tag
git push origin v1.26.4
- Go to https://github.com/ZoneMinder/ZoneMinder/releases/new
- In the 'Tag version' field, enter the tag created in the above step (e.g. v1.26.4)
- Give the release a title (Metallica songs and album names are best)
- Write a short message to describe the significant changes in this release. Include the shortlog in the release message surrounded in backticks to preserve formatting.
kjohnson@vps:~/ZoneMinder$ git status
# On branch master
nothing to commit (working directory clean)
kjohnson@vps:~/ZoneMinder$ git pull
kjohnson@vps:~/ZoneMinder$ git checkout gh-pages
Switched to branch 'gh-pages'
kjohnson@vps:~/ZoneMinder$ echo 1.26.4 > version.txt
kjohnson@vps:~/ZoneMinder$ git add version.txt
kjohnson@vps:~/ZoneMinder$ git commit -m 'Bumped version number to 1.26.4'
kjohnson@vps:~/ZoneMinder$ git push origin gh-pages
- Puppet Module
- [FAQ] (https://github.com/ZoneMinder/ZoneMinder/wiki/FAQ)
- [Main Documentation] (https://github.com/ZoneMinder/ZoneMinder/wiki/Main-Documentation)