...
1A Gomega release is a tagged sha and a GitHub release. To cut a release:
2
31. Ensure CHANGELOG.md is up to date.
4 - Use
5 ```bash
6 LAST_VERSION=$(git tag --sort=version:refname | tail -n1)
7 CHANGES=$(git log --pretty=format:'- %s [%h]' HEAD...$LAST_VERSION)
8 echo -e "## NEXT\n\n$CHANGES\n\n### Features\n\n### Fixes\n\n### Maintenance\n\n$(cat CHANGELOG.md)" > CHANGELOG.md
9 ```
10 to update the changelog
11 - Categorize the changes into
12 - Breaking Changes (requires a major version)
13 - New Features (minor version)
14 - Fixes (fix version)
15 - Maintenance (which in general should not be mentioned in `CHANGELOG.md` as they have no user impact)
161. Update GOMEGA_VERSION in `gomega_dsl.go`
171. Commit, push, and release:
18 ```
19 git commit -m "vM.m.p"
20 git push
21 gh release create "vM.m.p"
22 git fetch --tags origin master
23 ```
View as plain text