From 908008ac3d92aa7c24c5c136944b1b27d614a9fc Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Thu, 30 May 2024 09:06:23 +0000 Subject: [PATCH 1/4] doc: update ORAS CLI version to v1.2.0 in installation document Signed-off-by: Billy Zha --- docs/installation.mdx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/installation.mdx b/docs/installation.mdx index 957c123a..6360aaee 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -32,7 +32,7 @@ Install ORAS from the latest [release artifacts](https://github.com/oras-project If you want to install ORAS on an AMD64-based Linux machine, run the following command: ```bash -VERSION="1.1.0" +VERSION="1.2.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_linux_amd64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ @@ -41,7 +41,7 @@ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ``` :::note -If you want to install ORAS on an ARM64-based Linux machine, you can download it from `https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_linux_arm64.tar.gz`. +If you want to install ORAS on an ARM64-based Linux machine, you can download it from `https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_arm64.tar.gz`. ::: @@ -50,7 +50,7 @@ If you want to install ORAS on an ARM64-based Linux machine, you can download it If you want to install ORAS on a Mac computer with Apple silicon, run the following command: ```bash -VERSION="1.1.0" +VERSION="1.2.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_darwin_arm64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ @@ -59,7 +59,7 @@ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ``` :::note -If you want to install ORAS on an Intel-based Mac, you can download it from `https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_darwin_amd64.tar.gz`. +If you want to install ORAS on an Intel-based Mac, you can download it from `https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_darwin_amd64.tar.gz`. ::: @@ -68,13 +68,13 @@ If you want to install ORAS on an Intel-based Mac, you can download it from `htt - You can install ORAS CLI on Windows using [WinGet (Windows Package Manager)](https://github.com/microsoft/winget-pkgs): ```bash -winget install oras --version 1.1.0 +winget install oras --version 1.2.0 ``` - Alternatively, you can install ORAS CLI using `.exe` installer. Add `%USERPROFILE%\bin\` to your `PATH` environment variable so that `oras.exe` can be found. ```cmd -set VERSION="1.1.0" +set VERSION="1.2.0" curl.exe -sLO "https://github.com/oras-project/oras/releases/download/v%VERSION%/oras_%VERSION%_windows_amd64.zip" tar.exe -xvzf oras_%VERSION%_windows_amd64.zip mkdir -p %USERPROFILE%\bin\ @@ -87,7 +87,7 @@ set PATH=%USERPROFILE%\bin\;%PATH% A public Docker image containing the CLI is available on [GitHub Container Registry](https://github.com/orgs/oras-project/packages/container/package/oras): ``` -docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v1.1.0 help +docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v1.2.0 help ``` :::note @@ -119,9 +119,9 @@ nix-env -iA nixpkgs.oras ```shell $ oras version -Version: 1.1.0 -Go version: go1.21.0 -Git commit: 7079c468a06fb5815c99395eb4aaf46dd459d3fa +Version: 1.2.0 +Go version: go1.22.3 +Git commit: dcef719e208a9b226b15bc6512ad729a7dd93270 Git tree state: clean ``` From f2a81a2545010f2aad16fe23750c40948dc0cb7c Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Thu, 6 Jun 2024 10:49:09 +0800 Subject: [PATCH 2/4] update to 1.2 docs Signed-off-by: Billy Zha --- versioned_docs/version-1.2/installation.mdx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/versioned_docs/version-1.2/installation.mdx b/versioned_docs/version-1.2/installation.mdx index 957c123a..6360aaee 100644 --- a/versioned_docs/version-1.2/installation.mdx +++ b/versioned_docs/version-1.2/installation.mdx @@ -32,7 +32,7 @@ Install ORAS from the latest [release artifacts](https://github.com/oras-project If you want to install ORAS on an AMD64-based Linux machine, run the following command: ```bash -VERSION="1.1.0" +VERSION="1.2.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_linux_amd64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ @@ -41,7 +41,7 @@ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ``` :::note -If you want to install ORAS on an ARM64-based Linux machine, you can download it from `https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_linux_arm64.tar.gz`. +If you want to install ORAS on an ARM64-based Linux machine, you can download it from `https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_arm64.tar.gz`. ::: @@ -50,7 +50,7 @@ If you want to install ORAS on an ARM64-based Linux machine, you can download it If you want to install ORAS on a Mac computer with Apple silicon, run the following command: ```bash -VERSION="1.1.0" +VERSION="1.2.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_darwin_arm64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ @@ -59,7 +59,7 @@ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ``` :::note -If you want to install ORAS on an Intel-based Mac, you can download it from `https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_darwin_amd64.tar.gz`. +If you want to install ORAS on an Intel-based Mac, you can download it from `https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_darwin_amd64.tar.gz`. ::: @@ -68,13 +68,13 @@ If you want to install ORAS on an Intel-based Mac, you can download it from `htt - You can install ORAS CLI on Windows using [WinGet (Windows Package Manager)](https://github.com/microsoft/winget-pkgs): ```bash -winget install oras --version 1.1.0 +winget install oras --version 1.2.0 ``` - Alternatively, you can install ORAS CLI using `.exe` installer. Add `%USERPROFILE%\bin\` to your `PATH` environment variable so that `oras.exe` can be found. ```cmd -set VERSION="1.1.0" +set VERSION="1.2.0" curl.exe -sLO "https://github.com/oras-project/oras/releases/download/v%VERSION%/oras_%VERSION%_windows_amd64.zip" tar.exe -xvzf oras_%VERSION%_windows_amd64.zip mkdir -p %USERPROFILE%\bin\ @@ -87,7 +87,7 @@ set PATH=%USERPROFILE%\bin\;%PATH% A public Docker image containing the CLI is available on [GitHub Container Registry](https://github.com/orgs/oras-project/packages/container/package/oras): ``` -docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v1.1.0 help +docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v1.2.0 help ``` :::note @@ -119,9 +119,9 @@ nix-env -iA nixpkgs.oras ```shell $ oras version -Version: 1.1.0 -Go version: go1.21.0 -Git commit: 7079c468a06fb5815c99395eb4aaf46dd459d3fa +Version: 1.2.0 +Go version: go1.22.3 +Git commit: dcef719e208a9b226b15bc6512ad729a7dd93270 Git tree state: clean ``` From 04277b2f551d5a3f7eeabd845e25607a8d889c66 Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Thu, 6 Jun 2024 10:50:16 +0800 Subject: [PATCH 3/4] update to 1.2 docs Signed-off-by: Billy Zha --- docs/installation.mdx | 20 +++++++++---------- versioned_docs/version-1.2/installation.mdx | 22 ++++++++++----------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/installation.mdx b/docs/installation.mdx index 6360aaee..957c123a 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -32,7 +32,7 @@ Install ORAS from the latest [release artifacts](https://github.com/oras-project If you want to install ORAS on an AMD64-based Linux machine, run the following command: ```bash -VERSION="1.2.0" +VERSION="1.1.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_linux_amd64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ @@ -41,7 +41,7 @@ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ``` :::note -If you want to install ORAS on an ARM64-based Linux machine, you can download it from `https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_arm64.tar.gz`. +If you want to install ORAS on an ARM64-based Linux machine, you can download it from `https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_linux_arm64.tar.gz`. ::: @@ -50,7 +50,7 @@ If you want to install ORAS on an ARM64-based Linux machine, you can download it If you want to install ORAS on a Mac computer with Apple silicon, run the following command: ```bash -VERSION="1.2.0" +VERSION="1.1.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_darwin_arm64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ @@ -59,7 +59,7 @@ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ``` :::note -If you want to install ORAS on an Intel-based Mac, you can download it from `https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_darwin_amd64.tar.gz`. +If you want to install ORAS on an Intel-based Mac, you can download it from `https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_darwin_amd64.tar.gz`. ::: @@ -68,13 +68,13 @@ If you want to install ORAS on an Intel-based Mac, you can download it from `htt - You can install ORAS CLI on Windows using [WinGet (Windows Package Manager)](https://github.com/microsoft/winget-pkgs): ```bash -winget install oras --version 1.2.0 +winget install oras --version 1.1.0 ``` - Alternatively, you can install ORAS CLI using `.exe` installer. Add `%USERPROFILE%\bin\` to your `PATH` environment variable so that `oras.exe` can be found. ```cmd -set VERSION="1.2.0" +set VERSION="1.1.0" curl.exe -sLO "https://github.com/oras-project/oras/releases/download/v%VERSION%/oras_%VERSION%_windows_amd64.zip" tar.exe -xvzf oras_%VERSION%_windows_amd64.zip mkdir -p %USERPROFILE%\bin\ @@ -87,7 +87,7 @@ set PATH=%USERPROFILE%\bin\;%PATH% A public Docker image containing the CLI is available on [GitHub Container Registry](https://github.com/orgs/oras-project/packages/container/package/oras): ``` -docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v1.2.0 help +docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v1.1.0 help ``` :::note @@ -119,9 +119,9 @@ nix-env -iA nixpkgs.oras ```shell $ oras version -Version: 1.2.0 -Go version: go1.22.3 -Git commit: dcef719e208a9b226b15bc6512ad729a7dd93270 +Version: 1.1.0 +Go version: go1.21.0 +Git commit: 7079c468a06fb5815c99395eb4aaf46dd459d3fa Git tree state: clean ``` diff --git a/versioned_docs/version-1.2/installation.mdx b/versioned_docs/version-1.2/installation.mdx index 6360aaee..3ae07ee9 100644 --- a/versioned_docs/version-1.2/installation.mdx +++ b/versioned_docs/version-1.2/installation.mdx @@ -20,7 +20,7 @@ brew install oras Install `oras` using [Snap](https://snapcraft.io/store): ```bash -snap install oras +snap install oras --classic ``` ## Release artifacts @@ -32,7 +32,7 @@ Install ORAS from the latest [release artifacts](https://github.com/oras-project If you want to install ORAS on an AMD64-based Linux machine, run the following command: ```bash -VERSION="1.2.0" +VERSION="1.1.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_linux_amd64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ @@ -41,7 +41,7 @@ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ``` :::note -If you want to install ORAS on an ARM64-based Linux machine, you can download it from `https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_arm64.tar.gz`. +If you want to install ORAS on an ARM64-based Linux machine, you can download it from `https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_linux_arm64.tar.gz`. ::: @@ -50,7 +50,7 @@ If you want to install ORAS on an ARM64-based Linux machine, you can download it If you want to install ORAS on a Mac computer with Apple silicon, run the following command: ```bash -VERSION="1.2.0" +VERSION="1.1.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_darwin_arm64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ @@ -59,7 +59,7 @@ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ``` :::note -If you want to install ORAS on an Intel-based Mac, you can download it from `https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_darwin_amd64.tar.gz`. +If you want to install ORAS on an Intel-based Mac, you can download it from `https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_darwin_amd64.tar.gz`. ::: @@ -68,13 +68,13 @@ If you want to install ORAS on an Intel-based Mac, you can download it from `htt - You can install ORAS CLI on Windows using [WinGet (Windows Package Manager)](https://github.com/microsoft/winget-pkgs): ```bash -winget install oras --version 1.2.0 +winget install oras --version 1.1.0 ``` - Alternatively, you can install ORAS CLI using `.exe` installer. Add `%USERPROFILE%\bin\` to your `PATH` environment variable so that `oras.exe` can be found. ```cmd -set VERSION="1.2.0" +set VERSION="1.1.0" curl.exe -sLO "https://github.com/oras-project/oras/releases/download/v%VERSION%/oras_%VERSION%_windows_amd64.zip" tar.exe -xvzf oras_%VERSION%_windows_amd64.zip mkdir -p %USERPROFILE%\bin\ @@ -87,7 +87,7 @@ set PATH=%USERPROFILE%\bin\;%PATH% A public Docker image containing the CLI is available on [GitHub Container Registry](https://github.com/orgs/oras-project/packages/container/package/oras): ``` -docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v1.2.0 help +docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v1.1.0 help ``` :::note @@ -119,9 +119,9 @@ nix-env -iA nixpkgs.oras ```shell $ oras version -Version: 1.2.0 -Go version: go1.22.3 -Git commit: dcef719e208a9b226b15bc6512ad729a7dd93270 +Version: 1.1.0 +Go version: go1.21.0 +Git commit: 7079c468a06fb5815c99395eb4aaf46dd459d3fa Git tree state: clean ``` From d0ae63a989578bac276465f85979eea67c79d2df Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Thu, 6 Jun 2024 10:52:46 +0800 Subject: [PATCH 4/4] update v1.2.0 doc Signed-off-by: Billy Zha --- versioned_docs/version-1.2/installation.mdx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/versioned_docs/version-1.2/installation.mdx b/versioned_docs/version-1.2/installation.mdx index 3ae07ee9..5f096086 100644 --- a/versioned_docs/version-1.2/installation.mdx +++ b/versioned_docs/version-1.2/installation.mdx @@ -32,7 +32,7 @@ Install ORAS from the latest [release artifacts](https://github.com/oras-project If you want to install ORAS on an AMD64-based Linux machine, run the following command: ```bash -VERSION="1.1.0" +VERSION="1.2.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_linux_amd64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ @@ -41,7 +41,7 @@ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ``` :::note -If you want to install ORAS on an ARM64-based Linux machine, you can download it from `https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_linux_arm64.tar.gz`. +If you want to install ORAS on an ARM64-based Linux machine, you can download it from `https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_arm64.tar.gz`. ::: @@ -50,7 +50,7 @@ If you want to install ORAS on an ARM64-based Linux machine, you can download it If you want to install ORAS on a Mac computer with Apple silicon, run the following command: ```bash -VERSION="1.1.0" +VERSION="1.2.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_darwin_arm64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ @@ -59,7 +59,7 @@ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ``` :::note -If you want to install ORAS on an Intel-based Mac, you can download it from `https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_darwin_amd64.tar.gz`. +If you want to install ORAS on an Intel-based Mac, you can download it from `https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_darwin_amd64.tar.gz`. ::: @@ -68,13 +68,13 @@ If you want to install ORAS on an Intel-based Mac, you can download it from `htt - You can install ORAS CLI on Windows using [WinGet (Windows Package Manager)](https://github.com/microsoft/winget-pkgs): ```bash -winget install oras --version 1.1.0 +winget install oras --version 1.2.0 ``` - Alternatively, you can install ORAS CLI using `.exe` installer. Add `%USERPROFILE%\bin\` to your `PATH` environment variable so that `oras.exe` can be found. ```cmd -set VERSION="1.1.0" +set VERSION="1.2.0" curl.exe -sLO "https://github.com/oras-project/oras/releases/download/v%VERSION%/oras_%VERSION%_windows_amd64.zip" tar.exe -xvzf oras_%VERSION%_windows_amd64.zip mkdir -p %USERPROFILE%\bin\ @@ -87,7 +87,7 @@ set PATH=%USERPROFILE%\bin\;%PATH% A public Docker image containing the CLI is available on [GitHub Container Registry](https://github.com/orgs/oras-project/packages/container/package/oras): ``` -docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v1.1.0 help +docker run -it --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v1.2.0 help ``` :::note @@ -119,9 +119,9 @@ nix-env -iA nixpkgs.oras ```shell $ oras version -Version: 1.1.0 -Go version: go1.21.0 -Git commit: 7079c468a06fb5815c99395eb4aaf46dd459d3fa +Version: 1.2.0 +Go version: go1.22.3 +Git commit: dcef719e208a9b226b15bc6512ad729a7dd93270 Git tree state: clean ```