Skip to content

Commit

Permalink
Merge pull request #1285 from alphagov/chore/notes-for-releasing
Browse files Browse the repository at this point in the history
Document steps for releasing a new version of the gem
  • Loading branch information
tahb authored Sep 3, 2024
2 parents 1d0671f + 7a9be36 commit 7da9940
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,30 @@ Then at the PSQL command line:

`template1=# CREATE EXTENSION IF NOT EXISTS "uuid-ossp";`

## Releasing

1. Read the CHANGELOG.md and decide on the new semantic version number
1. Create a release branch, eg. `release-96.0.3`
1. Update the CHANGELOG.md
- Declare a new version number
- Move all unreleased changes beneath it
1. Update `lib/gds_api/version.rb` to match, eg

```ruby
module GdsApi
VERSION = "96.0.3".freeze
end
```

1. Copy the lines from the CHANGELOG.md into the git commit
1. Propose and merge the pull request into `main`

Nb:

- You do not need to set any git tags
- After merging, CI will release the new version of the gem and Dependabot will
propose the new version of the gem to help distribute the changes to consumers

## Licence

Released under the MIT Licence, a copy of which can be found in the file
Expand Down

0 comments on commit 7da9940

Please sign in to comment.