We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c604f09 commit 00898b6Copy full SHA for 00898b6
1 file changed
.github/workflows/linux.yml
@@ -50,10 +50,9 @@ jobs:
50
- name: Create deb package
51
run: |
52
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
53
- VERSION=$(echo ${{ github.ref }} | sed 's/refs\/tags\///')
+ VERSION=$(echo ${{ github.ref }} | sed 's/refs\/tags\/v*//')
54
else
55
- LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0")
56
- VERSION="${LATEST_TAG}-dev"
+ VERSION="0.0.0-dev"
57
fi
58
59
echo "Creating deb package for version $VERSION"
0 commit comments