Skip to content

Commit

Permalink
Update docs for 0.38.0 release
Browse files Browse the repository at this point in the history
This will update readme, docs and chocolatey release
file for 0.38.0 release
  • Loading branch information
piyush-garg authored and tekton-robot committed Aug 23, 2024
1 parent a1ddb23 commit ce16e40
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 28 deletions.
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.37.0/tkn_0.37.0_Darwin_all.tar.gz)
- Use [released tarball](https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Darwin_all.tar.gz)

```shell
# Get the tar.xz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.37.0/tkn_0.37.0_Darwin_all.tar.gz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Darwin_all.tar.gz
# Extract tkn to your PATH (e.g. /usr/local/bin)
sudo tar xvzf tkn_0.37.0_Darwin_all.tar.gz -C /usr/local/bin tkn
sudo tar xvzf tkn_0.38.0_Darwin_all.tar.gz -C /usr/local/bin tkn
```

### Windows
Expand All @@ -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.37.0/tkn_0.37.0_Windows_x86_64.zip)
- Use [Powershell](https://docs.microsoft.com/en-us/powershell) [released zip](https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.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.37.0/tkn_0.37.0_Windows_x86_64.zip -Destination "$HOME/tektoncd/cli/."
Start-BitsTransfer -Source https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.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`
Expand All @@ -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.37.0/tkn_0.37.0_Linux_x86_64.tar.gz)
* [Linux AMD 64](https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Linux_x86_64.tar.gz)

```shell
# Get the tar.xz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.37.0/tkn_0.37.0_Linux_x86_64.tar.gz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Linux_x86_64.tar.gz
# Extract tkn to your PATH (e.g. /usr/local/bin)
sudo tar xvzf tkn_0.37.0_Linux_x86_64.tar.gz -C /usr/local/bin/ tkn
sudo tar xvzf tkn_0.38.0_Linux_x86_64.tar.gz -C /usr/local/bin/ tkn
```

* [Linux AARCH 64](https://github.com/tektoncd/cli/releases/download/v0.37.0/tkn_0.37.0_Linux_aarch64.tar.gz)
* [Linux AARCH 64](https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Linux_aarch64.tar.gz)

```shell
# Get the tar.xz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.37.0/tkn_0.37.0_Linux_aarch64.tar.gz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Linux_aarch64.tar.gz
# Extract tkn to your PATH (e.g. /usr/local/bin)
sudo tar xvzf tkn_0.37.0_Linux_aarch64.tar.gz -C /usr/local/bin/ tkn
sudo tar xvzf tkn_0.38.0_Linux_aarch64.tar.gz -C /usr/local/bin/ tkn
```

* [Linux IBM Z](https://github.com/tektoncd/cli/releases/download/v0.37.0/tkn_0.37.0_Linux_s390x.tar.gz)
* [Linux IBM Z](https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Linux_s390x.tar.gz)

```shell
# Get the tar.gz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.37.0/tkn_0.37.0_Linux_s390x.tar.gz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Linux_s390x.tar.gz
# Extract tkn to your PATH (e.g. /usr/local/bin)
sudo tar xvzf tkn_0.37.0_Linux_s390x.tar.gz -C /usr/local/bin/ tkn
sudo tar xvzf tkn_0.38.0_Linux_s390x.tar.gz -C /usr/local/bin/ tkn
```

* [Linux IBM P](https://github.com/tektoncd/cli/releases/download/v0.37.0/tkn_0.37.0_Linux_ppc64le.tar.gz)
* [Linux IBM P](https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Linux_ppc64le.tar.gz)

```shell
# Get the tar.gz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.37.0/tkn_0.37.0_Linux_ppc64le.tar.gz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Linux_ppc64le.tar.gz
# Extract tkn to your PATH (e.g. /usr/local/bin)
sudo tar xvzf tkn_0.37.0_Linux_ppc64le.tar.gz -C /usr/local/bin/ tkn
sudo tar xvzf tkn_0.38.0_Linux_ppc64le.tar.gz -C /usr/local/bin/ tkn
```

### Linux RPMs
Expand All @@ -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.37.0/tektoncd-cli-0.37.0_Linux-64bit.rpm)
* [Binary RPM package](https://github.com/tektoncd/cli/releases/download/v0.38.0/tektoncd-cli-0.38.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.37.0/tektoncd-cli-0.37.0_Linux-64bit.rpm
rpm -Uvh https://github.com/tektoncd/cli/releases/download/v0.38.0/tektoncd-cli-0.38.0_Linux-64bit.rpm
```
### Linux Debs
Expand All @@ -128,19 +128,19 @@ Expand-Archive $HOME/tektoncd/cli/*.zip -DestinationPath C:\Users\Developer\tekt
```shell
sudo apt update;sudo apt install -y gnupg
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3EFE0E0A2F2F60AA
echo "deb http://ppa.launchpad.net/tektoncd/cli/ubuntu jammy main"|sudo tee /etc/apt/sources.list.d/tektoncd-ubuntu-cli.list
echo "deb http://ppa.launchpad.net/tektoncd/cli/ubuntu noble main"|sudo tee /etc/apt/sources.list.d/tektoncd-ubuntu-cli.list
sudo apt update && sudo apt install -y tektoncd-cli
```
The PPA may work with older releases, but that hasn't been tested.

* [Binary DEB package](https://github.com/tektoncd/cli/releases/download/v0.37.0/tektoncd-cli-0.37.0_Linux-64bit.deb)
* [Binary DEB package](https://github.com/tektoncd/cli/releases/download/v0.38.0/tektoncd-cli-0.38.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.37.0/tektoncd-cli-0.37.0_Linux-64bit.deb
dpkg -i tektoncd-cli-0.37.0_Linux-64bit.deb
curl -LO https://github.com/tektoncd/cli/releases/download/v0.38.0/tektoncd-cli-0.38.0_Linux-64bit.deb
dpkg -i tektoncd-cli-0.38.0_Linux-64bit.deb
```

### NixOS/Nix
Expand Down
2 changes: 1 addition & 1 deletion choco/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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](./tektoncd-cli.nuspec#L5) to the latest available version of `tkn`.
* Change the [version in the download url for the Windows `tkn` zip](./tools/chocolateyinstall.ps1#L4) to the latest available version of `tkn`.
* Update the [checksum for the package](./tools/chocolateyinstall.ps1#L11) by getting the sha256 of the zip file. Example: `Get-FileHash '.\tkn_0.37.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.37.0/tkn_0.37.0_Windows_x86_64.zip.
* Update the [checksum for the package](./tools/chocolateyinstall.ps1#L11) by getting the sha256 of the zip file. Example: `Get-FileHash '.\tkn_0.38.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.38.0/tkn_0.38.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.)
2 changes: 1 addition & 1 deletion choco/tektoncd-cli.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>tektoncd-cli</id>
<version>0.37.0</version>
<version>0.38.0</version>
<title>Tekton CLI (tkn)</title>
<authors>Tekton authors, see https://github.com/tektoncd/cli/graphs/contributors</authors>
<projectUrl>https://github.com/tektoncd/cli</projectUrl>
Expand Down
4 changes: 2 additions & 2 deletions choco/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -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.37.0/tkn_0.37.0_Windows_x86_64.zip'
$url64 = 'https://github.com/tektoncd/cli/releases/download/v0.38.0/tkn_0.38.0_Windows_x86_64.zip'

$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
url64bit = $url64
softwareName = 'tektoncd-cli*'
checksum64 = '29128908f8d60072c96eb8577f9fa344193f3e33b5a0e3b63c146cb454a5f38f'
checksum64 = '756414c0ac4245138e313c9662bc5960251ade6fb06cf58c95be88a8d8dc1c57'
checksumType64 = 'sha256'
}

Expand Down
10 changes: 9 additions & 1 deletion releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ Further documentation available:

## Releases

### v0.38 (LTS)

- **Latest Release**: [v0.38.0][v0-38-0] (2024-08-21) ([docs][v0-38-0-docs])
- **Initial Release**: [v0.38.0][v0-38-0] (2024-08-21) ([docs][v0-38-0-docs])
- **End of Life**: 2025-08-20

### v0.37 (LTS)

- **Latest Release**: [v0.37.0][v0-37-0] (2024-05-13) ([docs][v0-37-0-docs])
Expand All @@ -46,7 +52,7 @@ Further documentation available:

- **Latest Release**: [v0.36.0][v0-36-0] (2024-03-21) ([docs][v0-36-0-docs])
- **Initial Release**: [v0.36.0][v0-36-0] (2024-03-21) ([docs][v0-36-0-docs])
- **End of Life**: 2025-03-20
- **End of Life**: 2024-04-20

### v0.35 (LTS)

Expand Down Expand Up @@ -132,6 +138,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-38-0]: https://github.com/tektoncd/cli/releases/tag/v0.38.0
[v0-37-0]: https://github.com/tektoncd/cli/releases/tag/v0.37.0
[v0-36-0]: https://github.com/tektoncd/cli/releases/tag/v0.36.0
[v0-35-2]: https://github.com/tektoncd/cli/releases/tag/v0.35.2
Expand All @@ -151,6 +158,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-38-0-docs]: https://github.com/tektoncd/cli/tree/v0.38.0/docs
[v0-37-0-docs]: https://github.com/tektoncd/cli/tree/v0.37.0/docs
[v0-36-0-docs]: https://github.com/tektoncd/cli/tree/v0.36.0/docs
[v0-35-2-docs]: https://github.com/tektoncd/cli/tree/v0.35.2/docs
Expand Down

0 comments on commit ce16e40

Please sign in to comment.