fix version generation
This commit is contained in:
parent
aa12d23858
commit
5107e40a3d
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ jobs:
|
|||
|
||||
- name: Generate version number
|
||||
run: |
|
||||
VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.1.$(git rev-list --count HEAD)")
|
||||
VERSION=$(git describe --tags --abbrev=0 2>/dev/null | sed 's/^v//')
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
- name: Build Debian package with FPM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue