mirror of
https://github.com/norouter/norouter.git
synced 2025-12-24 13:17:54 +08:00
Compress artifact binaries as tgz
- Old artifact name convention: "norouter-$(uname -s)-$(uname -m)" - New artifact name convention: "norouter-$(uname -s)-$(uname -m).tgz" The archive contains "norouter" executable. On Windows, "norouter-$(uname -s)-$(uname -m).zip" contains "norouter.exe". Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@@ -26,20 +26,19 @@ The easiest way is to download the binary on the local host first, and then use
|
||||
`norouter show-installer | ssh <USER>@<HOST>` to replicate the binary.
|
||||
|
||||
```console
|
||||
$ curl -o norouter --fail -L https://github.com/norouter/norouter/releases/latest/download/norouter-$(uname -s)-$(uname -m)
|
||||
$ chmod +x norouter
|
||||
$ curl -fsSL https://github.com/norouter/norouter/releases/latest/download/norouter-$(uname -s)-$(uname -m).tgz | sudo tar xzvC /usr/local/bin
|
||||
```
|
||||
|
||||
```console
|
||||
$ norouter show-installer | ssh some-user@host1.cloud1.example.com
|
||||
...
|
||||
Successfully installed /home/some-user/bin/norouter (version 0.3.0)
|
||||
Successfully installed /home/some-user/bin/norouter (version 0.6.0)
|
||||
```
|
||||
|
||||
```console
|
||||
$ norouter show-installer | ssh some-user@host2.cloud2.example.com
|
||||
...
|
||||
Successfully installed /home/some-user/bin/norouter (version 0.3.0)
|
||||
Successfully installed /home/some-user/bin/norouter (version 0.6.0)
|
||||
```
|
||||
|
||||
## Step 1: Create a manifest
|
||||
|
||||
Reference in New Issue
Block a user