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
chocofolder 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 of
tkn. - Change the version in the download url for the Windows
tknzip 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.44.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.44.0/tkn_0.44.0_Windows_x86_64.zip. - Run
choco packin thechocodirectory to build the package - Run
choco pushto 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.)