2020-02-17 12:15:57 +00:00
|
|
|
A Gomega release is a tagged sha and a GitHub release. To cut a release:
|
|
|
|
|
|
|
|
1. Ensure CHANGELOG.md is up to date.
|
2022-10-17 17:38:08 +00:00
|
|
|
- Use
|
|
|
|
```bash
|
|
|
|
LAST_VERSION=$(git tag --sort=version:refname | tail -n1)
|
|
|
|
CHANGES=$(git log --pretty=format:'- %s [%h]' HEAD...$LAST_VERSION)
|
2023-01-30 20:05:01 +00:00
|
|
|
echo -e "## NEXT\n\n$CHANGES\n\n### Features\n\n### Fixes\n\n### Maintenance\n\n$(cat CHANGELOG.md)" > CHANGELOG.md
|
2022-10-17 17:38:08 +00:00
|
|
|
```
|
|
|
|
to update the changelog
|
2020-02-17 12:15:57 +00:00
|
|
|
- Categorize the changes into
|
|
|
|
- Breaking Changes (requires a major version)
|
|
|
|
- New Features (minor version)
|
|
|
|
- Fixes (fix version)
|
|
|
|
- Maintenance (which in general should not be mentioned in `CHANGELOG.md` as they have no user impact)
|
2022-03-28 20:10:26 +00:00
|
|
|
1. Update GOMEGA_VERSION in `gomega_dsl.go`
|
|
|
|
1. Commit, push, and release:
|
|
|
|
```
|
|
|
|
git commit -m "vM.m.p"
|
|
|
|
git push
|
|
|
|
gh release create "vM.m.p"
|
|
|
|
git fetch --tags origin master
|
|
|
|
```
|