Skip to content

Commit dfd0fa2

Browse files
Infinit3iclaude
andcommitted
Fix release: strip v prefix from deb version field
dpkg requires version to start with a digit, not 'v'. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 25821e4 commit dfd0fa2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242

4343
- name: Prepare release artifacts
4444
run: |
45+
# Strip 'v' prefix for deb version (dpkg requires numeric start)
46+
VERSION="${GITHUB_REF_NAME#v}"
4547
mkdir -p release
4648
4749
# Standalone binary tarball
@@ -62,7 +64,7 @@ jobs:
6264
6365
cat > dpkg/DEBIAN/control <<CTRL
6466
Package: afw
65-
Version: ${{ github.ref_name }}
67+
Version: $VERSION
6668
Section: net
6769
Priority: optional
6870
Architecture: amd64

0 commit comments

Comments
 (0)