Skip to content

Publishing a release

Gregory Haskins edited this page Jul 19, 2016 · 6 revisions

These are the rough steps for publishing a new version of Spectrum.

  1. Make sure all changes you want are merged into the master branch.
  2. Create a new branch off master for the version bump, e.g. release-x.y.z
  3. Update the version numbers and any documentation in README.md and anywhere else necessary.
  4. Create a pull request from the branch. This runs a build on Travis CI.
  5. When everything looks good and runs green, create an annotated tag in Git to mark the official version. git tag -a x.y.z "Release version x.y.z" (tags should just be semver numbers, no v prefix or anything.)
  6. Push the tag to GitHub. This triggers another Travis CI build, which will publish the release artifacts. Publishing only happens on annotated tag builds.
  7. Merge the pull request
  8. Update the release notes on GitHub to provide some info about what is new/changed/fixed in this new version.
Clone this wiki locally