Skip to content

Commit 5245e68

Browse files
committed
ci: fix package installation instructions in release notes
Replace wildcard patterns with version-specific filenames in Debian and RPM installation commands. Wildcard expansions fail when multiple package versions exist in download directory or when shell globbing is disabled. Changes: - Debian: dprs_*.deb → dprs_${{ github.ref_name }}_amd64.deb - RPM: dprs-*.rpm → dprs-${{ github.ref_name }}-1.x86_64.rpm Ensures wget downloads single file and dpkg/rpm receive exact filename without requiring shell expansion.
1 parent 7a9fe66 commit 5245e68

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,14 +323,14 @@ jobs:
323323
324324
**Debian/Ubuntu**:
325325
```bash
326-
wget https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/dprs_*.deb
327-
sudo dpkg -i dprs_*.deb
326+
wget https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/dprs_${{ github.ref_name }}_amd64.deb
327+
sudo dpkg -i dprs_${{ github.ref_name }}_amd64.deb
328328
```
329329
330330
**Fedora/RHEL**:
331331
```bash
332-
wget https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/dprs-*.rpm
333-
sudo rpm -i dprs-*.rpm
332+
wget https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/dprs-${{ github.ref_name }}-1.x86_64.rpm
333+
sudo rpm -i dprs-${{ github.ref_name }}-1.x86_64.rpm
334334
```
335335
336336
### Docker

demo/compose-demo.gif

27.9 KB
Loading

0 commit comments

Comments
 (0)