Skip to content

Commit 8909a9c

Browse files
committed
RELEASE.md: Uudate sub-go-module tag command
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
1 parent 300f934 commit 8909a9c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

RELEASE.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@ The multicluster-runtime Project is released on an as-needed basis, roughly
44
following controller-runtime releases. The process is as follows:
55

66
1. An issue is proposing a new release with a changelog since the last release.
7-
1. All [OWNERS](OWNERS) must LGTM this release.
7+
1. All [OWNERS](OWNERS) must LGTM this release.
88
1. Ensure that all go.mods point to the relevant Kubernetes and controller-runtime versions.
99
1. An OWNER runs `git tag -s $VERSION` and pushes the tag with `git push $VERSION`.
1010
`$VERSION` should be a valid semver version for the main directory, with the
1111
major and minor versions matching those of controller-runtime, and the patch
1212
release being multicluster-runtime specific. Use `-pre-1` and `-rc-1` suffixes
1313
to indicate pre-release versions, with `rc` meaning that this might be the final
1414
release if no blockers are found.
15-
1. The upper commands must be repeated for all sub-go-modules `sub/go/module/$VERSION`.
15+
1. Ensure that the sub-go-module go.mods point to freshly tagged and pushed
16+
multi-cluster-runtime versions. This will require a commit to the release branch.
17+
1. Create a release branch with `git checkout -b release-$MAJOR.$MINOR` from `$VERSION`
18+
and push it to Github `git push origin release-$MAJOR.$MINOR`.
19+
1. Repeat the `git tag -s sub/go/module/$VERSION` and `git push sub/go/module/$VERSION`
20+
commands.
1621
1. The main tag is promoted to a release on GitHub with the changelog attached.
1722
1. The release issue is closed.

0 commit comments

Comments
 (0)