Skip to content

Commit d0d604b

Browse files
Added release process to README.md. (#191) (#207)
Added release procedure documentation: docs/release-process.md. Co-authored-by: Matthew Yacobucci <m.yacobucci@f5.com> (cherry picked from commit f6976c4) Co-authored-by: Pamme <p.crandall@f5.com>
1 parent c08db6e commit d0d604b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/release-process.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Release Process for NGINX Kubernetes Gateway
2+
3+
NGINX Kubernetes Gateway uses semantic versioning for its releases. For more information see https://semver.org.
4+
5+
Warning: Major version zero (0.y.z) is reserved for development, anything MAY change at any time. The public API is not stable.
6+
7+
### Steps to create a release.
8+
9+
1. Create a release branch from main, use the naming format: release-MAJOR.MINOR.
10+
11+
2. Create a release candidate tag, use the naming format: vMAJOR.MINOR.PATCH-rc.N (N must start from 1 and monotonically increase with each release candidate).
12+
13+
3. Test the release candidate.
14+
15+
If the tests fail
16+
17+
- Create a fix for the error.
18+
19+
- Open a PR with the fix against the main branch.
20+
21+
- Once approved and merged, cherry-pick the commit into the release branch.
22+
23+
- Create a new release candidate tag, increment the release candidate number by 1.
24+
25+
4. Iterate over the process in step 3 until all the tests pass on the release candidate tag then create the final release tag from the release branch in the format vMAJOR.MINOR.PATCH. The docker image will automatically be pushed to ghcr.io/nginxinc/nginx-kubernetes-gateway:MAJOR.MINOR.PATCH with the release tag as the docker tag.
26+
27+
5. Update the changelog with the changes added in the release. They can be found in the github release notes that was generated from the release branch.

0 commit comments

Comments
 (0)