From 48eb2e562d0a371d3ba542cd4a2b6a7d56901fdc Mon Sep 17 00:00:00 2001 From: SW Date: Sun, 16 Aug 2026 19:47:08 +0200 Subject: [PATCH] Fix release asset name collision, document Linux installation --- .github/workflows/release.yml | 10 ++++++---- README.md | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6eee8f7..3b08196 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,10 +22,11 @@ jobs: - run: cargo build --release - run: cargo test --release - run: cargo clippy --release -- -D warnings + - run: cp target/release/resticview target/release/resticview-macos - uses: actions/upload-artifact@v4 with: name: resticview-macos - path: target/release/resticview + path: target/release/resticview-macos build-linux: runs-on: ubuntu-latest @@ -37,11 +38,12 @@ jobs: - run: cargo test --release - run: cargo clippy --release -- -D warnings - run: cargo deb + - run: cp target/release/resticview target/release/resticview-linux - uses: actions/upload-artifact@v4 with: name: resticview-linux path: | - target/release/resticview + target/release/resticview-linux target/debian/*.deb release: @@ -61,8 +63,8 @@ jobs: with: tag_name: ${{ github.event.inputs.tag || github.ref_name }} files: | - artifacts/macos/resticview - artifacts/linux/release/resticview + artifacts/macos/resticview-macos + artifacts/linux/release/resticview-linux artifacts/linux/debian/*.deb generate_release_notes: true overwrite_files: true diff --git a/README.md b/README.md index b8d71d4..198c565 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,25 @@ brew tap janvete/tools brew install resticview ``` +### Debian / Ubuntu (.deb) + +Download the latest `.deb` from [GitHub Releases](https://github.com/janvete/resticview/releases) and install it: + +```bash +sudo apt install ./resticview_*.deb +# or +sudo dpkg -i resticview_*.deb +``` + +### Prebuilt binaries + +Each [release](https://github.com/janvete/resticview/releases) also ships standalone binaries: `resticview-macos` (Apple Silicon) and `resticview-linux` (x86_64). Put the file on your `PATH` and make it executable: + +```bash +chmod +x resticview-linux +sudo mv resticview-linux /usr/local/bin/resticview +``` + ### From source ```bash