Skip to content

Latest commit

 

History

History
73 lines (45 loc) · 2.39 KB

RELEASE.md

File metadata and controls

73 lines (45 loc) · 2.39 KB

Strata releases

The release process for Strata is as follows:

  1. Ensure all required changes have been merged

  2. Check out the master branch and ensure there are no local changes

  3. Change version of Strata, {major}.{minor}.{patch}, e.g. 1.0.0:
    mvn versions:set -DgenerateBackupPoms=false -DartifactId=* -DgroupId=com.opengamma.strata

  4. Create Git commit, with message such as "Release v1.0.0", and push

  5. Add Git tag (beginning with v):
    git tag -a v1.0.0 -m "Release v1.0.0"

  6. Push the tag:
    git push --follow-tags

  7. Travis will automatically detect the new tag and perform a build. Being a release tag, beginning with v, additional operations are triggered during the build which will perform the deployment to Bintray and upload the build artifacts to the GitHub Releases page. Note that there will be a concurrent build for the earlier push to master which will behave normally.

  8. At GutHub, update the release with a proper description and release notes.

  9. At Bintray, publish the files. Edit the description of the version, adding the release date, description and VCS tag. Ensure the readme and release notes tags are correctly setup.

  10. Publish the version to Maven Central from Bintray using the password in 1password.

  11. Bump version of Strata to SNAPSHOT, e.g. 1.1.0-SNAPSHOT:
    mvn versions:set -DgenerateBackupPoms=false -DartifactId=* -DgroupId=com.opengamma.strata

  12. Create Git commit, with message such as "Bump version", and push

  13. Update docs website

  14. Add Javadoc to docs website
    (delete old Javadoc, copy in new Javadoc)

  15. Add forum post

  16. Party!

Milestone releases

  1. Ensure all required changes have been merged

  2. Check out the master branch of and ensure there are no local changes

  3. Change version of Strata, {major}.{minor}.{patch}, eg. 1.1.0-M1:
    mvn versions:set -DgenerateBackupPoms=false -DartifactId=* -DgroupId=com.opengamma.strata

  4. Create git commit, with message such as "Release v1.1.0-M1"

  5. Release:
    mvn clean deploy -Doss.jars -Ddist

  6. Add git tag and push commit to GitHub
    git tag -a m1.1.0-M1 -m "Release v1.1.0-M1"

  7. Bump version of Strata back to original SNAPSHOT, eg. 1.1.0-SNAPSHOT:
    mvn versions:set -DgenerateBackupPoms=false -DartifactId=* -DgroupId=com.opengamma.strata

  8. Create git commit, with message such as "Bump version"

  9. Push the commits and tag:
    git push --follow-tags