Skip to content

Commit

Permalink
Merge pull request #229 from guardian/jw-docs
Browse files Browse the repository at this point in the history
docs: Document release-related chores!
  • Loading branch information
jacobwinch authored Feb 3, 2021
2 parents 606d4ba + e2a4382 commit 045437c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ There are more details on using the CDK library in [docs](docs)
We use [`np`](https://www.npmjs.com/package/np) to help orchestrate the release process.
To release a new version, run `./script/release`. You will need to be logged in to your `npm` account (`npm login`) which must be part of the Guardian organisation. If you have 2fa enabled, you will be prompted for an OTP during the release process.

The script automatically prepares a [GitHub Release](https://docs.github.com/en/github/administering-a-repository/about-releases) and opens a pre-populated form in your browser. Please complete the GitHub Release creation manually.

You will also need to manually checkout a new branch and open a PR containing version bump changes which are automatically committed during the release process.

### A note about release numbers

This library follows [semantic versioning](https://semver.org/). Part of the semantic versioning specification [states](https://semver.org/#spec-item-4):
Expand Down

0 comments on commit 045437c

Please sign in to comment.