Skip to content

Commit 19dd14e

Browse files
authored
update release template to include patch release (#1270)
Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent f483650 commit 19dd14e

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/ISSUE_TEMPLATE/new-release.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ This document defines the process for releasing Gateway API Inference Extension.
2626
```shell
2727
export MAJOR=0
2828
export MINOR=1
29+
export PATCH=0
2930
export REMOTE=origin
3031
```
3132

@@ -63,7 +64,7 @@ This document defines the process for releasing Gateway API Inference Extension.
6364
git checkout -b release-${MAJOR}.${MINOR}
6465
```
6566

66-
- For a Major or Minor Release:
67+
- For a Major, Minor or Patch Release:
6768
A release branch should already exist. In this case, check out the existing branch:
6869

6970
```shell
@@ -81,13 +82,13 @@ This document defines the process for releasing Gateway API Inference Extension.
8182
For a release candidate:
8283

8384
```shell
84-
git commit -s -m "Updates artifacts for v${MAJOR}.${MINOR}.0-rc.${RC} release"
85+
git commit -s -m "Updates artifacts for v${MAJOR}.${MINOR}.${PATCH}-rc.${RC} release"
8586
```
8687

87-
For a major or minor release:
88+
For a major, minor or patch release:
8889

8990
```shell
90-
git commit -s -m "Updates artifacts for v${MAJOR}.${MINOR}.0 release"
91+
git commit -s -m "Updates artifacts for v${MAJOR}.${MINOR}.${PATCH} release"
9192
```
9293

9394
6. Push your release branch to the Gateway API Inference Extension remote.
@@ -101,13 +102,13 @@ This document defines the process for releasing Gateway API Inference Extension.
101102
For a release candidate:
102103

103104
```shell
104-
git tag -s -a v${MAJOR}.${MINOR}.0-rc.${RC} -m 'Gateway API Inference Extension v${MAJOR}.${MINOR}.0-rc.${RC} Release Candidate'
105+
git tag -s -a v${MAJOR}.${MINOR}.${PATCH}-rc.${RC} -m 'Gateway API Inference Extension v${MAJOR}.${MINOR}.${PATCH}-rc.${RC} Release Candidate'
105106
```
106107

107-
For a major or minor release:
108+
For a major, minor or patch release:
108109

109110
```shell
110-
git tag -s -a v${MAJOR}.${MINOR}.0 -m 'Gateway API Inference Extension v${MAJOR}.${MINOR}.0 Release'
111+
git tag -s -a v${MAJOR}.${MINOR}.${PATCH} -m 'Gateway API Inference Extension v${MAJOR}.${MINOR}.${PATCH} Release'
111112
```
112113

113114
**Note:** A PGP key must be [registered] to your GitHub account.
@@ -117,18 +118,18 @@ This document defines the process for releasing Gateway API Inference Extension.
117118
For a release candidate:
118119

119120
```shell
120-
git push ${REMOTE} v${MAJOR}.${MINOR}.0-rc.${RC}
121+
git push ${REMOTE} v${MAJOR}.${MINOR}.${PATCH}-rc.${RC}
121122
```
122123

123-
For a major or minor release:
124+
For a major, minor or patch release:
124125

125126
```shell
126-
git push ${REMOTE} v${MAJOR}.${MINOR}.0
127+
git push ${REMOTE} v${MAJOR}.${MINOR}.${PATCH}
127128
```
128129

129130
9. Pushing the tag triggers Prow to build and publish the container image to the [staging registry][].
130131
10. Submit a PR against [k8s.io][] to add the staging image tag and SHA to [`k8s-staging-gateway-api-inference-extension/images.yaml`][yaml]. This will
131-
promote the image to the production registry, e.g. `registry.k8s.io/gateway-api-inference-extension/epp:v${MAJOR}.${MINOR}.0`.
132+
promote the image to the production registry, e.g. `registry.k8s.io/gateway-api-inference-extension/epp:v${MAJOR}.${MINOR}.${PATCH}`.
132133
**Note:** Add a link to this issue when the PR is merged.
133134
11. Test the steps in the tagged quickstart guide after the PR merges, for example: `https://github.com/kubernetes-sigs/gateway-api-inference-extension/blob/v0.1.0-rc.1/pkg/README.md`.
134135
12. Create a [new release][]:
@@ -146,7 +147,7 @@ Use the following steps to announce the release.
146147
1. Send an announcement email to `[email protected]` and `[email protected]` with the subject:
147148

148149
```shell
149-
[ANNOUNCE] Gateway API Inference Extension v${MAJOR}.${MINOR}.0 is released
150+
[ANNOUNCE] Gateway API Inference Extension v${MAJOR}.${MINOR}.${PATCH} is released
150151
```
151152

152153
2. Add a link to the release announcement in this issue. <!-- link to an example email once we have one -->

0 commit comments

Comments
 (0)