Fix release asset name collision, document Linux installation
This commit is contained in:
parent
192eb06c9d
commit
48eb2e562d
2 changed files with 25 additions and 4 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
19
README.md
19
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue