Skip to content

Commit 0d7e3f9

Browse files
Merge pull request #867 from jpeeler/release-docs
docs(release): add basic steps for making release
2 parents ea72079 + 0a765be commit 0d7e3f9

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

Documentation/design/release.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
# Changelog Generation
1+
# Steps to create a new release
2+
3+
1. Bump version in OLM_VERSION file. Make a PR and wait until it has been merged.
4+
5+
1. Pull change from above and make new tag with matching version. Push tag directly to this repo.
6+
7+
1. Confirm that new images have been built here: <https://quay.io/repository/operator-framework/olm?tab=builds>.
8+
9+
1. Run `make release` on master branch (easiest if done with a clean working directory). Make a PR and ensure all tests pass for merging.
10+
11+
## Changelog Generation
212

313
Changelogs for OLM are generated using [GitHub Changelog Generator](https://github.com/github-changelog-generator/github-changelog-generator).
414

15+
If the gem command is available, one can install via `gem install github_changelog_generator`. Afterward installing it may be worth modifying the MAX_THREAD_NUMBER to something lower similar to what is done here: <https://github.com/github-changelog-generator/github-changelog-generator/pull/661>. Now the changelog can be generated:
16+
517
```bash
618
github_changelog_generator -u operator-framework -p operator-lifecycle-manager --since-tag=<start-semver> \
719
--token=<github-api-token> --future-release=<end-semver> --pr-label="**Other changes:**"
8-
```
20+
```
21+
22+
The resulting CHANGELOG.md file can be copied into a new release created via <https://github.com/operator-framework/operator-lifecycle-manager/releases/new>.

0 commit comments

Comments
 (0)