tkn Chocolatey Package
Chocolatey package 🍫 for the tektoncd-cli (tkn
).
This package can be installed by running the following:
choco install tektoncd-cli --confirm
Development and Testing
Install
-
Clone this repository and make updates to the package
-
In the
tektoncd-cli
folder of this repository, runchoco pack
-
Run
choco install tektoncd-cli -s .
to run the package locally
After running the commands above, tkn
should be installed. You can run tkn
to verify a successful installation.
Uninstall
Run choco uninstall tektoncd-cli
to uninstall tkn
.
Updating the Package to a New Version
To update this package to a newer version of tkn
, the following updates should be made:
- Edit the version property in
tektoncd-cli.nuspec
to the latest available version oftkn
. - Change the version in the download url for the Windows
tkn
zip to the latest available version oftkn
. - Update the checksum for the package by getting the sha256 of the zip file. Example:
openssl dgst -sha256 tkn_0.10.0_Windows_x86_64.zip
. The zip can be downloaded using the release download url from GitHub; just remember to change the version numbers in the url: https://github.com/tektoncd/cli/releases/download/v0.10.0/tkn_0.10.0_Windows_x86_64.zip.