From 4b687560aa7ce772b84cb56cc774f20fac4f7129 Mon Sep 17 00:00:00 2001 From: vinamra28 Date: Wed, 10 May 2023 13:33:57 +0530 Subject: [PATCH] Bump tkn version in README to latest Bumps the version of tkn v0.31.0 in README.md, choco/ and releases.md Signed-off-by: vinamra28 --- README.md | 44 +++++++++++++++---------------- choco/README.md | 2 +- choco/tektoncd-cli.nuspec | 2 +- choco/tools/chocolateyinstall.ps1 | 4 +-- releases.md | 8 ++++++ 5 files changed, 34 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 71756089d..239fb2af8 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,13 @@ Download the latest binary executable for your operating system. brew install tektoncd-cli ``` -- Use [released tarball](https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Darwin_all.tar.gz) +- Use [released tarball](https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Darwin_all.tar.gz) ```shell # Get the tar.xz - curl -LO https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Darwin_all.tar.gz + curl -LO https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Darwin_all.tar.gz # Extract tkn to your PATH (e.g. /usr/local/bin) - sudo tar xvzf tkn_0.30.1_Darwin_all.tar.gz -C /usr/local/bin tkn + sudo tar xvzf tkn_0.31.0_Darwin_all.tar.gz -C /usr/local/bin tkn ``` ### Windows @@ -43,13 +43,13 @@ choco install tektoncd-cli --confirm scoop install tektoncd-cli ``` -- Use [Powershell](https://docs.microsoft.com/en-us/powershell) [released zip](https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Windows_x86_64.zip) +- Use [Powershell](https://docs.microsoft.com/en-us/powershell) [released zip](https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Windows_x86_64.zip) ```powershell #Create directory New-Item -Path "$HOME/tektoncd/cli" -Type Directory # Download file -Start-BitsTransfer -Source https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Windows_x86_64.zip -Destination "$HOME/tektoncd/cli/." +Start-BitsTransfer -Source https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Windows_x86_64.zip -Destination "$HOME/tektoncd/cli/." # Uncompress zip file Expand-Archive $HOME/tektoncd/cli/*.zip -DestinationPath C:\Users\Developer\tektoncd\cli\. #Add to Windows `Environment Variables` @@ -58,40 +58,40 @@ Expand-Archive $HOME/tektoncd/cli/*.zip -DestinationPath C:\Users\Developer\tekt ### Linux tarballs -* [Linux AMD 64](https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Linux_x86_64.tar.gz) +* [Linux AMD 64](https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Linux_x86_64.tar.gz) ```shell # Get the tar.xz - curl -LO https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Linux_x86_64.tar.gz + curl -LO https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Linux_x86_64.tar.gz # Extract tkn to your PATH (e.g. /usr/local/bin) - sudo tar xvzf tkn_0.30.1_Linux_x86_64.tar.gz -C /usr/local/bin/ tkn + sudo tar xvzf tkn_0.31.0_Linux_x86_64.tar.gz -C /usr/local/bin/ tkn ``` -* [Linux AARCH 64](https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Linux_aarch64.tar.gz) +* [Linux AARCH 64](https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Linux_aarch64.tar.gz) ```shell # Get the tar.xz - curl -LO https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Linux_aarch64.tar.gz + curl -LO https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Linux_aarch64.tar.gz # Extract tkn to your PATH (e.g. /usr/local/bin) - sudo tar xvzf tkn_0.30.1_Linux_aarch64.tar.gz -C /usr/local/bin/ tkn + sudo tar xvzf tkn_0.31.0_Linux_aarch64.tar.gz -C /usr/local/bin/ tkn ``` -* [Linux IBM Z](https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Linux_s390x.tar.gz) +* [Linux IBM Z](https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Linux_s390x.tar.gz) ```shell # Get the tar.gz - curl -LO https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Linux_s390x.tar.gz + curl -LO https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Linux_s390x.tar.gz # Extract tkn to your PATH (e.g. /usr/local/bin) - sudo tar xvzf tkn_0.30.1_Linux_s390x.tar.gz -C /usr/local/bin/ tkn + sudo tar xvzf tkn_0.31.0_Linux_s390x.tar.gz -C /usr/local/bin/ tkn ``` -* [Linux IBM P](https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Linux_ppc64le.tar.gz) +* [Linux IBM P](https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Linux_ppc64le.tar.gz) ```shell # Get the tar.gz - curl -LO https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Linux_ppc64le.tar.gz + curl -LO https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Linux_ppc64le.tar.gz # Extract tkn to your PATH (e.g. /usr/local/bin) - sudo tar xvzf tkn_0.30.1_Linux_ppc64le.tar.gz -C /usr/local/bin/ tkn + sudo tar xvzf tkn_0.31.0_Linux_ppc64le.tar.gz -C /usr/local/bin/ tkn ``` ### Linux RPMs @@ -111,12 +111,12 @@ Expand-Archive $HOME/tektoncd/cli/*.zip -DestinationPath C:\Users\Developer\tekt dnf install tektoncd-cli ``` - * [Binary RPM package](https://github.com/tektoncd/cli/releases/download/v0.30.1/tektoncd-cli-0.30.1_Linux-64bit.rpm) + * [Binary RPM package](https://github.com/tektoncd/cli/releases/download/v0.31.0/tektoncd-cli-0.31.0_Linux-64bit.rpm) On any other RPM based distros, you can install the rpm directly: ```shell - rpm -Uvh https://github.com/tektoncd/cli/releases/download/v0.30.1/tektoncd-cli-0.30.1_Linux-64bit.rpm + rpm -Uvh https://github.com/tektoncd/cli/releases/download/v0.31.0/tektoncd-cli-0.31.0_Linux-64bit.rpm ``` ### Linux Debs @@ -134,13 +134,13 @@ Expand-Archive $HOME/tektoncd/cli/*.zip -DestinationPath C:\Users\Developer\tekt The PPA may work with older releases, but that hasn't been tested. - * [Binary DEB package](https://github.com/tektoncd/cli/releases/download/v0.30.1/tektoncd-cli-0.30.1_Linux-64bit.deb) + * [Binary DEB package](https://github.com/tektoncd/cli/releases/download/v0.31.0/tektoncd-cli-0.31.0_Linux-64bit.deb) On any other Debian or Ubuntu based distro, you can simply install the binary package directly with `dpkg`: ```shell - curl -LO https://github.com/tektoncd/cli/releases/download/v0.30.1/tektoncd-cli-0.30.1_Linux-64bit.deb - dpkg -i tektoncd-cli-0.30.1_Linux-64bit.deb + curl -LO https://github.com/tektoncd/cli/releases/download/v0.31.0/tektoncd-cli-0.31.0_Linux-64bit.deb + dpkg -i tektoncd-cli-0.31.0_Linux-64bit.deb ``` ### NixOS/Nix diff --git a/choco/README.md b/choco/README.md index 31358037e..1f11aa7cc 100644 --- a/choco/README.md +++ b/choco/README.md @@ -32,6 +32,6 @@ To update this package to a newer version of `tkn`, the following updates should * Edit the version property in [`tektoncd-cli.nuspec`](https://github.com/tektoncd/cli/blob/main/choco/tektoncd-cli.nuspec#L5) to the latest available version of `tkn`. * Change the [version in the download url for the Windows `tkn` zip](https://github.com/tektoncd/cli/blob/main/choco/tools/chocolateyinstall.ps1#L4) to the latest available version of `tkn`. -* Update the [checksum for the package](https://github.com/tektoncd/cli/blob/main/choco/tools/chocolateyinstall.ps1#L11) 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. +* Update the [checksum for the package](https://github.com/tektoncd/cli/blob/main/choco/tools/chocolateyinstall.ps1#L11) by getting the sha256 of the zip file. Example: `Get-FileHash '.\tkn_0.31.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.31.0/tkn_0.31.0_Windows_x86_64.zip. * Run `choco pack` in the `choco` 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](https://github.com/danielhelfand) for more details.) diff --git a/choco/tektoncd-cli.nuspec b/choco/tektoncd-cli.nuspec index 45f2d72ec..bed57724e 100644 --- a/choco/tektoncd-cli.nuspec +++ b/choco/tektoncd-cli.nuspec @@ -2,7 +2,7 @@ tektoncd-cli - 0.30.1 + 0.31.0 Tekton CLI (tkn) Tekton authors, see https://github.com/tektoncd/cli/graphs/contributors https://github.com/tektoncd/cli diff --git a/choco/tools/chocolateyinstall.ps1 b/choco/tools/chocolateyinstall.ps1 index 8a7b063fa..f8db716cc 100644 --- a/choco/tools/chocolateyinstall.ps1 +++ b/choco/tools/chocolateyinstall.ps1 @@ -1,14 +1,14 @@ $ErrorActionPreference = 'Stop'; $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" $packageName = 'tektoncd-cli' -$url64 = 'https://github.com/tektoncd/cli/releases/download/v0.30.1/tkn_0.30.1_Windows_x86_64.zip' +$url64 = 'https://github.com/tektoncd/cli/releases/download/v0.31.0/tkn_0.31.0_Windows_x86_64.zip' $packageArgs = @{ packageName = $packageName unzipLocation = $toolsDir url64bit = $url64 softwareName = 'tektoncd-cli*' - checksum64 = 'bafb35a3ed707a4d7e02422fa4573ee85f5d9710a323feec553fd4f4cc7cdd45' + checksum64 = '6d22ad060905e4b3ab6316fe1463b70a33dc3b94b264a332c27dc0a13a4c394b' checksumType64 = 'sha256' } diff --git a/releases.md b/releases.md index dd33c8371..d05a445f9 100644 --- a/releases.md +++ b/releases.md @@ -36,6 +36,12 @@ Further documentation available: ## Releases +### v0.31 (LTS) + +- **Latest Release**: [v0.31.0][v0-31-0] (2023-05-10) ([docs][v0-31-0-docs]) +- **Initial Release**: [v0.31.0][v0-31-0] (2023-05-10) ([docs][v0-31-0-docs]) +- **End of Life**: 2024-05-10 + ### v0.30 (LTS) - **Latest Release**: [v0.30.1][v0-30-1] (2023-04-10) ([docs][v0-30-1-docs]) @@ -90,6 +96,7 @@ Older releases are EOL and available on [GitHub][tekton-cli-releases]. https://github.com/tektoncd/community/blob/main/standards.md#release-notes [tekton-release-process]: RELEASE_PROCESS.md +[v0-31-0]: https://github.com/tektoncd/cli/releases/tag/v0.31.0 [v0-30-1]: https://github.com/tektoncd/cli/releases/tag/v0.30.1 [v0-30-0]: https://github.com/tektoncd/cli/releases/tag/v0.30.0 [v0-29-1]: https://github.com/tektoncd/cli/releases/tag/v0.29.1 @@ -99,6 +106,7 @@ Older releases are EOL and available on [GitHub][tekton-cli-releases]. [v0-26-0]: https://github.com/tektoncd/cli/releases/tag/v0.26.0 [v0-25-0]: https://github.com/tektoncd/cli/releases/tag/v0.25.0 +[v0-31-0-docs]: https://github.com/tektoncd/cli/tree/v0.31.0/docs [v0-30-1-docs]: https://github.com/tektoncd/cli/tree/v0.30.1/docs [v0-30-0-docs]: https://github.com/tektoncd/cli/tree/v0.30.0/docs [v0-29-1-docs]: https://github.com/tektoncd/cli/tree/v0.29.1/docs