Skip to content

How to make a release

Isaac Connor edited this page Dec 13, 2013 · 12 revisions

Overview

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.

Make it so!

Update version files

  1. git pull
  2. Update /configure.ac
  3. Update /version
  4. Update /CMakeLists.txt
  5. Update /distros/debian/changelog
  6. Update /distros/ubuntu1204/changelog
  7. git add .
  8. git commit -m 'Bumping to version $version'
  9. git push origin master

Tag your release.

  1. Create the tag If you're not using GPG, replace -s with -a
git shortlog --format='[%h] %s' v1.26.3..HEAD|git tag -s -F - v1.26.4
  1. Push the tag
git push origin v1.26.4

Create a github release

  1. Go to https://github.com/ZoneMinder/ZoneMinder/releases/new
  2. In the 'Tag version' field, enter the tag created in the above step (e.g. v1.26.4)
  3. Give the release a title (Metallica songs and album names are best)
  4. 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.

Bump the version number in the wiki

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

Clone this wiki locally