forked from kubernetes-sigs/kustomize
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,6 @@ Install [`cloud-build-local`], then run | |
./releasing/localbuild.sh | ||
``` | ||
|
||
to build artifacts under `./dist`. | ||
|
||
## Do a real (cloud) release | ||
|
||
Get on an up-to-date master branch: | ||
|
@@ -39,7 +37,11 @@ git ls-remote --tags upstream | |
Define the version per [semver] principles; it must start with `v`: | ||
|
||
``` | ||
version=v3.0.0-pre | ||
# To push a kustomize binary | ||
version=kustomize/v3.2.1 | ||
# To push a pluginator binary - triggers a different script | ||
version=pluginator/v1.0.1 | ||
``` | ||
|
||
### if replacing a release... | ||
|
@@ -77,7 +79,9 @@ git tag -a $version -m "Release $version" | |
### trigger the cloud build | ||
Push the tag: | ||
``` | ||
git remote set-url --push upstream [email protected]:kubernetes-sigs/kustomize.git | ||
git push upstream $version | ||
git remote set-url --push upstream no_push | ||
``` | ||
|
||
This triggers a job in [Google Cloud Build] to | ||
|
@@ -86,4 +90,3 @@ put a new release on the [release page]. | |
### Update release notes | ||
|
||
Visit the [release page] and edit the release notes as desired. | ||
|