You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[project cloud build history page]: https://console.cloud.google.com/cloud-build/builds?project=k8s-staging-kustomize
16
+
[the build status for container image]: https://console.cloud.google.com/cloud-build/builds?project=k8s-staging-kustomize
17
+
[build history of GitHub Actions job]: /../../actions
15
18
16
19
This document describes how to perform a [semver release]
17
20
of one of the several [Go modules] in this repository.
@@ -23,11 +26,10 @@ branch is also created as necessary to track patch releases.
23
26
A properly formatted tag (described below) contains
24
27
the module name and version.
25
28
26
-
Pushing the tag upstream will trigger [Google Cloud Build] to build a release
27
-
and make it available on the [release page].
29
+
Pushing the tag upstream will trigger [GitHub Actions] to build a release and make it available on the [release page].
30
+
[GitHub Actions] reads its instructions from the [`release.yaml`] file in `.github/workflows` directory.
28
31
29
-
Cloud build reads its instructions from the
30
-
[`cloudbuild.yaml`] file in this directory.
32
+
And, container image contains `kustomize` binary will build [Google Cloud Build] that instructions from [`cloudbuild_kustomize_image.yaml`] file triggered by tags contain `kustomize` and release versions.
31
33
32
34
We use a Go program to make the tagging and branch
33
35
creation process less error prone.
@@ -123,7 +125,7 @@ testKustomizeRepo
123
125
While you're waiting for the tests, review the commit log:
124
126
125
127
```
126
-
releasing/compile-changelog.sh kyaml HEAD
128
+
releasing/compile-changelog.sh kyaml HEAD
127
129
```
128
130
129
131
Based on the changes to be included in this release, decide whether a patch, minor or major version bump is needed: [semver review].
@@ -144,8 +146,7 @@ Note the version:
144
146
versionKyaml=v0.10.20 # EDIT THIS!
145
147
```
146
148
147
-
See the process of the cloud build job
148
-
on the [project cloud build history page].
149
+
See the process of the [build history of GitHub Actions job].
149
150
150
151
Undraft the release on the [kustomize repo release page]:
151
152
* Make sure the version number is what you expect.
@@ -180,7 +181,7 @@ testKustomizeRepo
180
181
While you're waiting for the tests, review the commit log:
181
182
182
183
```
183
-
releasing/compile-changelog.sh cmd/config HEAD
184
+
releasing/compile-changelog.sh cmd/config HEAD
184
185
```
185
186
186
187
Based on the changes to be included in this release, decide whether a patch, minor or major version bump is needed: [semver review].
@@ -196,8 +197,7 @@ Note the version:
196
197
versionCmdConfig=v0.9.12 # EDIT THIS!
197
198
```
198
199
199
-
See the process of the cloud build job
200
-
on the [project cloud build history page].
200
+
See the process of the [build history of GitHub Actions job].
201
201
202
202
Undraft the release on the [kustomize repo release page]:
203
203
* Make sure the version number is what you expect.
@@ -233,7 +233,7 @@ testKustomizeRepo
233
233
While you're waiting for the tests, review the commit log:
234
234
235
235
```
236
-
releasing/compile-changelog.sh api HEAD
236
+
releasing/compile-changelog.sh api HEAD
237
237
```
238
238
239
239
Based on the changes to be included in this release, decide whether a patch, minor or major version bump is needed: [semver review].
@@ -249,8 +249,7 @@ Note the version:
249
249
versionApi=v0.8.10 # EDIT THIS!
250
250
```
251
251
252
-
See the process of the cloud build job
253
-
on the [project cloud build history page].
252
+
See the process of the [build history of GitHub Actions job].
254
253
255
254
Undraft the release on the [kustomize repo release page]:
256
255
* Make sure the version number is what you expect.
@@ -291,7 +290,7 @@ testKustomizeRepo
291
290
While you're waiting for the tests, review the commit log:
292
291
293
292
```
294
-
releasing/compile-changelog.sh kustomize HEAD
293
+
releasing/compile-changelog.sh kustomize HEAD
295
294
```
296
295
297
296
Based on the changes to be included in this release, decide whether a patch, minor or major version bump is needed: [semver review].
@@ -302,8 +301,9 @@ Based on the changes to be included in this release, decide whether a patch, min
You can test the release script locally by running [cloudbuild.sh](cloudbuild.sh) in a container or by installing Cloud Build Local and running [cloudbuild-local.sh](cloudbuild-local.sh). See each of those files for more details on their usage.
402
+
You can test the release script locally by running [`create-release.sh`].
403
+
See each of those files for more details on their usage.
0 commit comments