Skip to content

Commit 0d797c3

Browse files
committed
fix: Use simple package names (wgrest_amd64.deb) for /latest/download URLs
- Removed version from package filenames for stable download URLs - Added arm64 installation instructions to README
1 parent be8948d commit 0d797c3

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,11 @@ jobs:
144144
export VERSION=${GITHUB_REF_NAME#v}
145145
chmod +x dist/wgrest-linux-amd64
146146
chmod +x dist/wgrest-linux-arm64
147-
nfpm pkg -f packaging/nfpm-amd64.yaml --packager deb --target dist/wgrest_${VERSION}_amd64.deb
148-
nfpm pkg -f packaging/nfpm-arm64.yaml --packager deb --target dist/wgrest_${VERSION}_arm64.deb
149-
nfpm pkg -f packaging/nfpm-amd64.yaml --packager rpm --target dist/wgrest_${VERSION}_amd64.rpm
150-
nfpm pkg -f packaging/nfpm-arm64.yaml --packager rpm --target dist/wgrest_${VERSION}_arm64.rpm
147+
# Build packages with simple names (no version) for /latest/download/ URLs
148+
nfpm pkg -f packaging/nfpm-amd64.yaml --packager deb --target dist/wgrest_amd64.deb
149+
nfpm pkg -f packaging/nfpm-arm64.yaml --packager deb --target dist/wgrest_arm64.deb
150+
nfpm pkg -f packaging/nfpm-amd64.yaml --packager rpm --target dist/wgrest_amd64.rpm
151+
nfpm pkg -f packaging/nfpm-arm64.yaml --packager rpm --target dist/wgrest_arm64.rpm
151152
152153
- name: Upload packages
153154
uses: actions/upload-artifact@v4

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,13 @@ Designed to be simple, fast, and lightweight — making it ideal for embedded de
3030
### On Debian / Ubuntu
3131

3232
```shell
33+
# amd64
3334
curl -L https://github.com/suquant/wgrest/releases/latest/download/wgrest_amd64.deb -o wgrest_amd64.deb
3435
dpkg -i wgrest_amd64.deb
36+
37+
# arm64
38+
curl -L https://github.com/suquant/wgrest/releases/latest/download/wgrest_arm64.deb -o wgrest_arm64.deb
39+
dpkg -i wgrest_arm64.deb
3540
```
3641

3742
### Manual

0 commit comments

Comments
 (0)