Skip to content

How to release a version

Chris Beer edited this page Jul 21, 2011 · 26 revisions

Before releasing, ensure that you're on the master branch. Run all tests and ensure that they pass. Also check the hudson site to make sure tests are passing.

$ ./test_support/bin/test.sh 
  1. Create a release branch, wit the format release-{major}.{minor}
$ git checkout -b release-{major}.{minor}
# Switched to a new branch 'release-{major}.{minor}'
  1. Update the version number in ./VERSION
{major}.{minor}.{patch}
  1. Update the links in the readme files to point at the correct version so we're not linking to the documents in master which may not be correct for the specific tagged release (change "master" to version number)

  2. Fix JIRA to know about the release

  • Create a milestone in JIRA for the NEXT version: Browse Project / Versions / use form to add new version

  • Move any open tickets for released version to the next version: "Blacklight Plugin" >> Issues >> Unresolved by version: (current version you are releasing) >> Tools / Bulk Change >> select all issues >> Edit Issues >> Change/Fix Versions (to next version)

    Mark milestone for release as released:

    Browse the project and select the 'Versions' link/tab
    Click "Manage Versions" in the upper right hand corner of the list of released and unreleased versions
    In the 'Operations' column, click 'Release' next to the version to be released.
  1. Prepare announcement
  • Include URL to JIRA closed issues for version (Browse Project / Versions / click on version / click on eyeball icon in top right, -- copy URL. Maybe you want to tinyurl this ugly guy.)
  • Include URL to github commits between tags. github can show all commits between two versions with a URL of this form: http://github.com/projectblacklight/blacklight/compare/v2.5.0...v2.6.0 Replace with previous version and current release version tags.
  1. Release the gem
$ rake release
  1. Announce
  • Write a blog post with release notes at projectblacklight.org by adding a new post into github pages project
  • Write emails announcing the release and linking the blog post to Blacklight Development
Clone this wiki locally