Skip to content

Commit d78f1a3

Browse files
committed
fix: use Debian-compatible version format for packages
1 parent 1ba1ad2 commit d78f1a3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ jobs:
2727
run: |
2828
if [[ $GITHUB_REF == refs/tags/* ]]; then
2929
VERSION=${GITHUB_REF#refs/tags/}
30+
# Remove 'v' prefix if present for Debian compatibility
31+
VERSION=${VERSION#v}
3032
else
31-
VERSION="dev-$(date +%Y%m%d)-${GITHUB_SHA::7}"
33+
# Debian-compatible dev version format
34+
VERSION="0.0.0-dev$(date +%Y%m%d).${GITHUB_SHA::7}"
3235
fi
3336
echo "version=$VERSION" >> $GITHUB_OUTPUT
3437
echo "Building version: $VERSION"

0 commit comments

Comments
 (0)