Update add-kubernetes-release.sh script

… to take care of also running `./scripts/generate` on behalf of the
user
This commit is contained in:
Gabriel Gonzalez 2020-09-25 12:33:08 -07:00
parent efb745854a
commit 3fdb6ca551
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 "${VERSION}"