Skip to content

Commit

Permalink
Update README.md for new release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Zarytovsky <[email protected]>
  • Loading branch information
asviel committed Mar 13, 2024
1 parent 7fc2cc1 commit 476859d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-v${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/
sudo mv "${OS}-${ARCH}/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
Expand Down

0 comments on commit 476859d

Please sign in to comment.