Skip to content

Commit

Permalink
feat: Add pre-build to install the pre-built file for the "ui-cli" to…
Browse files Browse the repository at this point in the history
…ol. The script downloads the file from the release page and extracts it to the appropriate directory.
  • Loading branch information
banahaker committed Mar 31, 2024
1 parent f032e85 commit 9b6d6a2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,10 @@ go build . -o ui
```
Then just add the executable file to PATH

## Install Pre-build file with script
```bash
#!/bin/bash
wget https://github.com/Ui-CLI/ui-cli/releases/download/v0.1.0/ui-cli_0.1.0_linux_amd64.tar.gz
tar -xvf ui-cli_0.1.0_linux_amd64.tar.gz
sudo cp ui /usr/local/bin
```
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
wget https://github.com/Ui-CLI/ui-cli/releases/download/v0.1.0/ui-cli_0.1.0_linux_amd64.tar.gz
tar -xvf ui-cli_0.1.0_linux_amd64.tar.gz
sudo cp ui /usr/local/bin

0 comments on commit 9b6d6a2

Please sign in to comment.