Skip to content

How to release a version

Jack Reed edited this page Dec 9, 2018 · 26 revisions

Before releasing, ensure that you're on the master branch. Run all tests and ensure that they pass. Also check the continuous integration server to make sure tests are passing. bash $ bundle exec rake

New in Blacklight > 7: Make sure that the JavaScript package was successfully built when updates were contributed.

$ npm run js-compile-bundle

If this produces changes, make sure to follow the pull request contribution workflow to submit these changes.

  1. Update the version number in ./VERSION and ./package.json

    {major}.{minor}.{patch}
    
  2. Fix GitHub issue tracker to know about the release

    • Create a milestone in GitHub for the NEXT version.
    • Move any open tickets for released version to the next version.
    • Mark the milestone as closed.
  3. Write Github release notes for the tag, using this template:

    [Commit History](https://github.com/projectblacklight/blacklight/compare/v5.x.0...v5.x.0) | [Milestone](https://github.com/projectblacklight/blacklight/issues?q=milestone:{milestone here})
    
    (anything important about this release, themes, etc)
    
    ### New Features and improvements
    
    (#ticketnumber and a human-readable description of the ticket, usually the ticket title. If the ticket title doesn't make sense, either edit the ticket directly, or provide an alternative title here)
    
    ##  Bug Fixes
    
    ### Upgrade Notes
    
    (anything special that needs to be called out)
    
  4. Prepare announcement

  5. Release the gem

    $ rake release
  6. Release the npm package

    $ npm publish
Clone this wiki locally