docs: keep release asset filenames so sha256sum -c matches
Some checks are pending
ci / test (push) Waiting to run
Some checks are pending
ci / test (push) Waiting to run
This commit is contained in:
parent
b3f8307168
commit
5c5948c61c
2 changed files with 20 additions and 23 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
|
@ -81,12 +81,13 @@ jobs:
|
||||||
Prebuilt Linux binaries. No `tor` package required.
|
Prebuilt Linux binaries. No `tor` package required.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# x86_64
|
# x86_64 — keep the asset filename so sha256sum -c matches
|
||||||
curl -fL -o onionwire \
|
curl -fL -O https://github.com/sirius0xdev/onionwire/releases/download/${{ github.ref_name }}/onionwire-x86_64-unknown-linux-gnu
|
||||||
https://github.com/sirius0xdev/onionwire/releases/download/${{ github.ref_name }}/onionwire-x86_64-unknown-linux-gnu
|
curl -fL -O https://github.com/sirius0xdev/onionwire/releases/download/${{ github.ref_name }}/onionwire-x86_64-unknown-linux-gnu.sha256
|
||||||
chmod +x onionwire
|
sha256sum -c onionwire-x86_64-unknown-linux-gnu.sha256
|
||||||
./onionwire --version
|
chmod +x onionwire-x86_64-unknown-linux-gnu
|
||||||
./onionwire
|
./onionwire-x86_64-unknown-linux-gnu --version
|
||||||
|
./onionwire-x86_64-unknown-linux-gnu
|
||||||
```
|
```
|
||||||
|
|
||||||
See the README install guide for aarch64, checksums, and building from source.
|
See the README install guide for aarch64, checksums, and building from source.
|
||||||
|
|
|
||||||
30
README.md
30
README.md
|
|
@ -26,39 +26,35 @@ CI builds stripped Linux binaries on every `v*.*.*` tag and attaches them to [Gi
|
||||||
**x86_64 (most PCs / VMs):**
|
**x86_64 (most PCs / VMs):**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fL -o onionwire \
|
curl -fL -O https://github.com/sirius0xdev/onionwire/releases/latest/download/onionwire-x86_64-unknown-linux-gnu
|
||||||
https://github.com/sirius0xdev/onionwire/releases/latest/download/onionwire-x86_64-unknown-linux-gnu
|
curl -fL -O https://github.com/sirius0xdev/onionwire/releases/latest/download/onionwire-x86_64-unknown-linux-gnu.sha256
|
||||||
curl -fL -o onionwire.sha256 \
|
sha256sum -c onionwire-x86_64-unknown-linux-gnu.sha256
|
||||||
https://github.com/sirius0xdev/onionwire/releases/latest/download/onionwire-x86_64-unknown-linux-gnu.sha256
|
chmod +x onionwire-x86_64-unknown-linux-gnu
|
||||||
sha256sum -c onionwire.sha256
|
./onionwire-x86_64-unknown-linux-gnu --version
|
||||||
chmod +x onionwire
|
|
||||||
./onionwire --version
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**aarch64 (Raspberry Pi, ARM servers):**
|
**aarch64 (Raspberry Pi, ARM servers):**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fL -o onionwire \
|
curl -fL -O https://github.com/sirius0xdev/onionwire/releases/latest/download/onionwire-aarch64-unknown-linux-gnu
|
||||||
https://github.com/sirius0xdev/onionwire/releases/latest/download/onionwire-aarch64-unknown-linux-gnu
|
curl -fL -O https://github.com/sirius0xdev/onionwire/releases/latest/download/onionwire-aarch64-unknown-linux-gnu.sha256
|
||||||
curl -fL -o onionwire.sha256 \
|
sha256sum -c onionwire-aarch64-unknown-linux-gnu.sha256
|
||||||
https://github.com/sirius0xdev/onionwire/releases/latest/download/onionwire-aarch64-unknown-linux-gnu.sha256
|
chmod +x onionwire-aarch64-unknown-linux-gnu
|
||||||
sha256sum -c onionwire.sha256
|
./onionwire-aarch64-unknown-linux-gnu --version
|
||||||
chmod +x onionwire
|
|
||||||
./onionwire --version
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Install onto `PATH` if you want `onionwire` as a command:
|
Install onto `PATH` if you want `onionwire` as a command (keep the asset filename until after `sha256sum -c`):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir -p ~/.local/bin
|
mkdir -p ~/.local/bin
|
||||||
mv onionwire ~/.local/bin/
|
install -m 755 onionwire-x86_64-unknown-linux-gnu ~/.local/bin/onionwire
|
||||||
# ensure ~/.local/bin is on PATH, then:
|
# ensure ~/.local/bin is on PATH, then:
|
||||||
onionwire
|
onionwire
|
||||||
```
|
```
|
||||||
|
|
||||||
The binary is dynamically linked against glibc (Ubuntu 24.04 builders). If `./onionwire` dies with `GLIBC_… not found`, use Option B on that machine.
|
The binary is dynamically linked against glibc (Ubuntu 24.04 builders). If `./onionwire` dies with `GLIBC_… not found`, use Option B on that machine.
|
||||||
|
|
||||||
Checksum files are `sha256sum` format (`<hash> onionwire-<target>`). Run `sha256sum -c` from the same directory as the binary, or edit the filename in the `.sha256` file to match.
|
Checksum files are `sha256sum` format (`<hash> onionwire-<target>`). Download both files with `curl -O` so the names match, then `sha256sum -c`.
|
||||||
|
|
||||||
### Option B — build from source
|
### Option B — build from source
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue