Skip to content

Commit 00898b6

Browse files
committed
deb package
1 parent c604f09 commit 00898b6

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/linux.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,9 @@ jobs:
5050
- name: Create deb package
5151
run: |
5252
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
53-
VERSION=$(echo ${{ github.ref }} | sed 's/refs\/tags\///')
53+
VERSION=$(echo ${{ github.ref }} | sed 's/refs\/tags\/v*//')
5454
else
55-
LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0")
56-
VERSION="${LATEST_TAG}-dev"
55+
VERSION="0.0.0-dev"
5756
fi
5857
5958
echo "Creating deb package for version $VERSION"

0 commit comments

Comments
 (0)