use dot notation for release candidates

pull/4207/head^2
Matthew Fisher 7 years ago committed by Sebastien Plisson
parent 9f8824bcd5
commit 92a5a77195

@ -52,7 +52,7 @@ In this doc, we are going to reference a few environment variables as well, whic
```shell ```shell
export RELEASE_NAME=vX.Y.0 export RELEASE_NAME=vX.Y.0
export RELEASE_BRANCH_NAME="release-X.Y" export RELEASE_BRANCH_NAME="release-X.Y"
export RELEASE_CANDIDATE_NAME="$RELEASE_NAME-rc1" export RELEASE_CANDIDATE_NAME="$RELEASE_NAME-rc.1"
``` ```
If you are creating a patch release, you may want to use the following instead: If you are creating a patch release, you may want to use the following instead:
@ -61,7 +61,7 @@ If you are creating a patch release, you may want to use the following instead:
export PREVIOUS_PATCH_RELEASE=vX.Y.Z export PREVIOUS_PATCH_RELEASE=vX.Y.Z
export RELEASE_NAME=vX.Y.Z+1 export RELEASE_NAME=vX.Y.Z+1
export RELEASE_BRANCH_NAME="release-X.Y" export RELEASE_BRANCH_NAME="release-X.Y"
export RELEASE_CANDIDATE_NAME="$RELEASE_NAME-rc1" export RELEASE_CANDIDATE_NAME="$RELEASE_NAME-rc.1"
``` ```
## 1. Create the Release Branch ## 1. Create the Release Branch
@ -188,7 +188,7 @@ You will also want to update the release version number and the CHANGELOG as we
After that, tag it and notify users of the new release candidate: After that, tag it and notify users of the new release candidate:
```shell ```shell
export RELEASE_CANDIDATE_NAME="$RELEASE_NAME-rc2" export RELEASE_CANDIDATE_NAME="$RELEASE_NAME-rc.2"
git tag --sign --annotate "${RELEASE_CANDIDATE_NAME}" --message "Helm release ${RELEASE_CANDIDATE_NAME}" git tag --sign --annotate "${RELEASE_CANDIDATE_NAME}" --message "Helm release ${RELEASE_CANDIDATE_NAME}"
git push upstream $RELEASE_CANDIDATE_NAME git push upstream $RELEASE_CANDIDATE_NAME
``` ```

Loading…
Cancel
Save