Update add-kubernetes-release.sh script (#148)

… to take care of also running `./scripts/generate` on behalf of the
user
This commit is contained in:
Gabriel Gonzalez 2020-09-25 14:07:15 -07:00 committed by GitHub
parent efb745854a
commit 07bb77a74c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -349,6 +349,8 @@ To add a new supported release, run:
./scripts/add-kubernetes-release.sh "${VERSION}"
```
… and then create a pull request out of the generated files.
If you want to make a specific release the preferred release, run:
```

View File

@ -5,3 +5,4 @@ set -eu
VERSION="$1"
nix-prefetch-url "https://github.com/kubernetes/kubernetes/archive/release-${VERSION}.tar.gz" > "nix/kubernetes/${VERSION}.txt"
./scripts/generate.sh "${VERSION}"