Skip to content

Releasing Spot

Leslie Fung edited this page Jan 28, 2020 · 1 revision

To release a new version of Spot, you need two steps:

Update the version in master

  1. Create a new branch.
  2. Update the version field in package.json.
  3. Run yarn prepack, which will update README.md automatically.
  4. Send a PR with the changes with the PR and commit message: Release [version].
    • Example: Release v0.1.2
  5. Merge the PR into master with the same squashed commit message.

Create a release on GitHub

  1. Visit the releases page to see what was last announced.
  2. Draft a new release:
    • Tag = v[version] (e.g. v2.1.1). Do not forget the v, which is required to trigger the NPM publish on CircleCI.
    • Title = Release v[version] (e.g. Release v2.1.1)
  3. Make sure to announce major changes since the last version in the description.
  4. Once published, check CircleCI to ensure publication was successful.
Clone this wiki locally