mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 16:42:51 +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.
|
||||
|
||||
```
|
||||
branch="release-${module}-v${major}.${minor}
|
||||
branch="release-${module}-v${major}.${minor}"
|
||||
echo "branch=$branch"
|
||||
git checkout -b $branch
|
||||
```
|
||||
|
||||
@@ -210,11 +211,12 @@ git ls-remote --tags upstream
|
||||
### define the release tag
|
||||
|
||||
```
|
||||
tag="v${major}.v${minor}.${patch}
|
||||
tag="v${major}.v${minor}.${patch}"
|
||||
if [ "$module" != "api" ]; then
|
||||
# must prefix the tag with submodule name
|
||||
tag="${module}/${tag}"
|
||||
fi
|
||||
echo "tag=$tag"
|
||||
```
|
||||
|
||||
### if replacing a release...
|
||||
|
||||
Reference in New Issue
Block a user