The GitHub workflows could never run on this instance: jobs asked for ubuntu-24.04 runners (the Pi runner only registers the 'docker' label, so every job sat in waiting), and release.yml published to github.com, which is not a remote of this repo. - .forgejo/workflows/ci.yml — cargo test + clippy on the 'docker' label, Rust work in a rust:1.87-bookworm sibling container (aarch64 native) - .forgejo/workflows/release.yml — on v*.*.* tags, build aarch64, strip, sha256, publish to the Forgejo release; workflow_dispatch takes a tag to re-publish - scripts/publish-release.sh — idempotent create-or-update release + asset upload via the Forgejo API (replaces same-named assets) - scripts/build-release-local.sh — x86_64 path (no x86_64 runner exists) - scripts/release-body.md — release notes template (@TAG@ substituted) - README: install URLs -> Forgejo, accurate maintainer release procedure - remove .github/workflows/*
This commit is contained in:
parent
b9f2dc3806
commit
91fd9601b8
11 changed files with 318 additions and 139 deletions
24
scripts/release-body.md
Normal file
24
scripts/release-body.md
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# OnionWire @TAG@
|
||||
|
||||
Prebuilt Linux binaries. No `tor` package required — Arti runs in-process.
|
||||
|
||||
```bash
|
||||
# aarch64 (Raspberry Pi, ARM servers) — CI builds this one on the Pi runner
|
||||
curl -fL -O https://forgejo.siriusdevops.com/sirius/onionwire/releases/download/@TAG@/onionwire-aarch64-unknown-linux-gnu
|
||||
curl -fL -O https://forgejo.siriusdevops.com/sirius/onionwire/releases/download/@TAG@/onionwire-aarch64-unknown-linux-gnu.sha256
|
||||
sha256sum -c onionwire-aarch64-unknown-linux-gnu.sha256
|
||||
chmod +x onionwire-aarch64-unknown-linux-gnu
|
||||
|
||||
# x86_64 (most PCs / VMs) — built locally with scripts/build-release-local.sh
|
||||
curl -fL -O https://forgejo.siriusdevops.com/sirius/onionwire/releases/download/@TAG@/onionwire-x86_64-unknown-linux-gnu
|
||||
curl -fL -O https://forgejo.siriusdevops.com/sirius/onionwire/releases/download/@TAG@/onionwire-x86_64-unknown-linux-gnu.sha256
|
||||
sha256sum -c onionwire-x86_64-unknown-linux-gnu.sha256
|
||||
chmod +x onionwire-x86_64-unknown-linux-gnu
|
||||
|
||||
./onionwire-<target> --version
|
||||
```
|
||||
|
||||
Keep the asset filenames so `sha256sum -c` matches. Both binaries link OpenSSL 3
|
||||
dynamically (`libssl.so.3`), which is standard on Debian 12+/Ubuntu 24.04+.
|
||||
|
||||
Building from source is covered in the README install guide.
|
||||
Loading…
Reference in a new issue