Tool that helps releasing an artefact
Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Releasing an artefact

This repo provides a script that allows to tag a git repository:

  • It looks if the specified build completed successfully
  • Gets the commit id from the build
  • Suggests you the new version
  • Tags the repository

##Prepare the environment

  • Set up your local configuration by creating a file ~/.hmrc/release.conf which is a json formatted file that should look like this:
    "jenkins_user": "<username>",
    "jenkins_key": "<api-token>"

Replace <username> with your jenkins username. Replace <api-token> with the value obtained from Jenkins. Configure github and jenkins urls to the appropriate values.

$ virtualenv virtual_release
$ source virtual_release/bin/activate
$ pip install -r requirements.txt


  • Tag the artefact: python -v jenkins_job_name build_number The script in src/universal/bin will look at your jenkins instance for the specified green build and tag the repository with the same name as the job.


This code is open source software licensed under the Apache 2.0 License.