Skip to content

Commit

Permalink
Update to recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiller authored Sep 10, 2019
1 parent 2f63a4b commit c52c7ea
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,32 +84,17 @@ After we have installed the virt plugin we can use it:

## Creating krew packages after a new KubeVirt release

Example: prepare a kubectl krew release for `v0.17.2`
Example: prepare a kubectl krew release for a new release

### Execute `./scripts/create-latest-release.sh` from the base directory:
### `./scripts/create-latest-release.sh`

Just execute `./scripts/create-latest-release.sh` from the base directory. The script will create packages, a yaml file, store them in a new release in GitHub repo and finally create a PR against the `krew-index` repo in draft mode.

$ ./scripts/create-latest-release.sh
Downloading binaries:
...

# IMPORTANT: the following lines hold the directories of where the packages have been created!
Creating release packages for krew:
/home/dhiller/Projects/github.com/dhiller/kubectl-virt-plugin/out/release/v0.17.2/...
Creating pull request:
...

Creating manifest yaml file for krew:
...
Manifest for dist is <path>/kubectl-virt-plugin/out/release/v0.17.2/virt.yaml

Testing package install:
Building docker test image Testing krew package install on docker image: OK

### Create a GitHub release `v0.17.2`
Create a GitHub release `v0.17.2` in this repository, adding the `tar.gz` files from
`<path>/kubectl-virt-plugin/out/release/v0.17.2/`

### Create a pull request against the krew Plugin Index Repository

Create a pull request against [krew-index](https://index.krew.dev/) using the file

<path>/kubectl-virt-plugin/out/release/v0.17.2/virt.yaml
After the script has finished successfully you should see a URL where you will find the created PR, which then just needs to be confirmed that it is reviewable.

0 comments on commit c52c7ea

Please sign in to comment.