From 805e59fb5992740c6d0193cd03ae8cf323eff6e1 Mon Sep 17 00:00:00 2001 From: Yan Zarytovsky Date: Wed, 13 Mar 2024 12:21:22 +0300 Subject: [PATCH] Update README.md for new release workflow Signed-off-by: Yan Zarytovsky --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cfa4b48..b81449b 100644 --- a/README.md +++ b/README.md @@ -6,31 +6,31 @@ Deckhouse Client (d8) is a command-line client for Deckhouse. To install the `d8` binary from the provided GitHub release link, follow these steps: -1. **Define variables** (`darwin/amd64` in this case, release v0.0.2): +1. **Define variables** (`darwin/amd64` in this case, release v0.0.3): ```bash - RELEASE_VERSION=0.0.2 + RELEASE_VERSION=0.0.3 OS=darwin ARCH=amd64 1. **Download the Binary:** Download the `d8` binary for your operating system and architecture . You can do this by clicking on the link or by using the `curl` command: ```bash - curl -LO https://github.com/deckhouse/deckhouse-cli/releases/download/v${RELEASE_VERSION}/deckhouse-cli_${RELEASE_VERSION}_${OS}_${ARCH}.tar.gz + curl -LO "https://github.com/deckhouse/deckhouse-cli/releases/download/v${RELEASE_VERSION}/d8-v${RELEASE_VERSION}-${OS}-${ARCH}.tar.gz" ``` 1. **Extract the Binary:** Once the download is complete, extract the contents of the downloaded `.tar.gz` file. You can do this using the `tar` command: ```bash - tar -xvf deckhouse-cli_${RELEASE_VERSION}_${OS}_${ARCH}.tar.gz d8 + tar -xvf "d8-${RELEASE_VERSION}-${OS}-${ARCH}.tar.gz" "${OS}-${ARCH}/d8" ``` -2. **Move the Binary to a Directory in Your PATH:** +1. **Move the Binary to a Directory in Your PATH:** Move the extracted binary (`d8`) to a directory that is included in your system's PATH environment variable. This ensures that you can run the binary from any location in your terminal. ```bash sudo mv d8 /usr/local/bin/ ``` -3. **Verify Installation:** +1. **Verify Installation:** You can verify that the `d8` binary is installed correctly by running the following command: ```bash d8 help