Move pluginator to kustomize Go API v3.3.0

This commit is contained in:
Jeffrey Regan
2019-10-07 16:23:04 -07:00
parent 5d800f0b0a
commit abefa2b155
5 changed files with 11 additions and 10 deletions

View File

@@ -190,9 +190,9 @@ requires.
# Update the following as needed, obviously.
if [ "$module" != "api" ]; then
go mod edit -dropreplace=sigs.k8s.io/kustomize/v3 $module/go.mod
go mod edit -require=sigs.k8s.io/kustomize/v4@v4.0.1 $module/go.mod
git commit -a -m "Drop API module replacement"
# go mod edit -dropreplace=sigs.k8s.io/kustomize/v3 $module/go.mod
# go mod edit -require=sigs.k8s.io/kustomize/v4@v4.0.1 $module/go.mod
# git commit -a -m "Drop API module replacement"
fi
```
@@ -222,7 +222,7 @@ git ls-remote --tags upstream
### define the release tag
```
tag="v${major}.v${minor}.${patch}"
tag="v${major}.${minor}.${patch}"
if [ "$module" != "api" ]; then
# must prefix the tag with submodule name
tag="${module}/${tag}"