Skip to content

Commit 39757af

Browse files
committed
fix: package-test fails when version does not start with digit
1 parent 290dcd4 commit 39757af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@ jobs:
158158
- name: Test DEB package creation
159159
run: nfpm pkg --packager deb
160160
env:
161-
CABIN_VERSION: ${{ github.sha }}
161+
CABIN_VERSION: 0.0.0+${{ github.sha }}
162162

163163
- name: Test RPM package creation
164164
run: nfpm pkg --packager rpm
165165
env:
166-
CABIN_VERSION: ${{ github.sha }}
166+
CABIN_VERSION: 0.0.0+${{ github.sha }}
167167

168168
- name: List created packages
169169
run: ls -la ./*.deb ./*.rpm

0 commit comments

Comments
 (0)