Building a release

So you are a comitter and you want to release a new version of Seccubus.

Calculate a new version number

As of April 2016 the “odd” version numbers are development releases the “even” version are releases.

So if 2.20 is the current release then 2.21 is the release currently under development. It will become 2.22 as soon as you will release it.


In there is a line like this:

$VERSION = '2.21';

Update it to reflect the new version number.

Make sure and are up to date

Make sure that reflects all changes since the last released version, Make sure that you copy this to the head of as well. It has all the changes since version 2.0.alpha1

Make sure that all unit tests pass

Check Circle-CI build status

This ensures that the packes build on all supported platforms too.

Make sure is building the container


Tag the repo

$ git tag -a 2.22 -m "This will be release 2.22"
$ git push --follow-tags
Counting objects: 1, done.
Writing objects: 100% (1/1), 179 bytes | 0 bytes/s, done.
Total 1 (delta 0), reused 0 (delta 0)
 * [new tag]         2.22 -> 2.22


  • Use qualified tags!
  • Don’t prepend a v to the version or OpenSUSE build services will fail!

Make sure that all unit tests pass (AGAIN!)

Check Circle-CI build status

Create a pull request from master to releases

This will make sure the release also gets uploaded to the releases repository.

Create a release on GitHub

See GitHub release page.

Use the tag you have just created. If you committed after you created the tag you need to delete the tag first.

Download the binary packages

Get the following from CircleCI:

  • RPMS: master / fedora_package_building -> fedora_ok -> artifacts
  • .deb file: master / debian_package_building -> debian_ok -> artifacts

Attach them to the build

See the release you just created at the GitHub release page.

Write a blog post on

Code is in the gp-pages branch Of the main GitHub repo

Send a notification to the slack channel

You know how slack works.

Update online version check

Code is on Frank Breedijk’s GitHub

Tweet, LinkedIn, Facebook, etc…

Make some noise, you are done!