release: archives carry rnx, rnir, rnpkg, and the rngit tools

This commit is contained in:
DeFiDude committed 2026-11-15 00:26:35 -07:00
1 parent 2aee96ea4f
commit 499a98aa03
2 files changed
+16 -5

No files matched your search

+12 -4
View File
@@ -23,7 +23,7 @@ env:
SOURCE_REF: ${{ github.sha }}
RELEASE_TAG: ${{ github.event.inputs.tag_name || github.ref_name }}
PACKAGE_ROOT: rsReticulum
RETICULUM_BINS: rnsd-rs rnstatus-rs rnpath-rs rnid-rs rnprobe-rs rncp-rs rnsh-rs rnodeconf-rs
RETICULUM_BINS: rnsd-rs rnstatus-rs rnpath-rs rnid-rs rnprobe-rs rncp-rs rnsh-rs rnodeconf-rs rnx-rs rnir-rs rnpkg-rs rngit-rs rngcs-rs git-remote-rns
jobs:
verify:
@@ -87,15 +87,23 @@ jobs:
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libudev-dev libdbus-1-dev pkg-config
- name: Build release binaries
run: cargo build -p rns-tools --release --bins --locked
run: cargo build -p rns-tools -p rns-git --release --bins --locked
- name: Stage archive contents
shell: bash
run: |
set -euo pipefail
for bin in ${RETICULUM_BINS}; do
suffix=""
if [[ "${RUNNER_OS}" == "Windows" ]]; then suffix=".exe"; fi
"target/release/${bin}${suffix}" --version
for bin in ${RETICULUM_BINS}; do
case "${bin}" in
# As upstream, these two have no --version.
rngcs-rs) "target/release/${bin}${suffix}" --help > /dev/null ;;
git-remote-rns)
usage="$("target/release/${bin}${suffix}" 2>&1 || true)"
[[ "${usage}" == "Usage: git-remote-rns <remote-name> <url>"* ]]
;;
*) "target/release/${bin}${suffix}" --version ;;
esac
done
mkdir -p "dist/${PACKAGE_ROOT}/bin"
for bin in ${RETICULUM_BINS}; do
+4 -1
View File
@@ -13,7 +13,10 @@ import zipfile
ROOT = Path(__file__).resolve().parents[2]
PACKAGE = "rsReticulum"
BINS = "rnsd-rs rnstatus-rs rnpath-rs rnid-rs rnprobe-rs rncp-rs rnsh-rs rnodeconf-rs".split()
BINS = (
"rnsd-rs rnstatus-rs rnpath-rs rnid-rs rnprobe-rs rncp-rs rnsh-rs rnodeconf-rs "
"rnx-rs rnir-rs rnpkg-rs rngit-rs rngcs-rs git-remote-rns"
).split()
DOCS = ("README.md", "LICENSE", "CHANGELOG.md")
PLATFORMS = {"linux-x86_64": "tar.gz", "macos": "tar.gz", "windows-x86_64": "zip"}