mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Update README.md
This commit is contained in:
@@ -152,7 +152,8 @@ since the branch accumulates patch releases.
|
|||||||
> release branch that already exists.
|
> release branch that already exists.
|
||||||
|
|
||||||
```
|
```
|
||||||
branch="release-${module}-v${major}.${minor}
|
branch="release-${module}-v${major}.${minor}"
|
||||||
|
echo "branch=$branch"
|
||||||
git checkout -b $branch
|
git checkout -b $branch
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -210,11 +211,12 @@ git ls-remote --tags upstream
|
|||||||
### define the release tag
|
### define the release tag
|
||||||
|
|
||||||
```
|
```
|
||||||
tag="v${major}.v${minor}.${patch}
|
tag="v${major}.v${minor}.${patch}"
|
||||||
if [ "$module" != "api" ]; then
|
if [ "$module" != "api" ]; then
|
||||||
# must prefix the tag with submodule name
|
# must prefix the tag with submodule name
|
||||||
tag="${module}/${tag}"
|
tag="${module}/${tag}"
|
||||||
fi
|
fi
|
||||||
|
echo "tag=$tag"
|
||||||
```
|
```
|
||||||
|
|
||||||
### if replacing a release...
|
### if replacing a release...
|
||||||
|
|||||||
Reference in New Issue
Block a user