Chocolatey package 🍫 for the tektoncd-cli (tkn
).
This package can be installed by running the following:
choco install tektoncd-cli --confirm
-
Clone this repository and make updates to the package
-
In the
choco
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.
Run choco uninstall tektoncd-cli
to uninstall tkn
.
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:
Get-FileHash '.\tkn_0.21.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.21.0/tkn_0.21.0_Windows_x86_64.zip. - Run
choco pack
in thechoco
directory to build the package - Run
choco push
to push the built package and make it available for download (NOTE: You will need permissions to push the package/to be authenticated. Reach out to @danielhelfand for more details.)