[ci] fix GitHub Actions Linux build version parsing

This commit is contained in:
kunkundi
2026-05-28 23:30:42 +08:00
parent 69d77e59cc
commit 67812957db
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -42,6 +42,7 @@ jobs:
steps:
- name: Extract version number
shell: bash
run: |
VERSION_REF="${GITHUB_REF##*/}"
VERSION_BASE="${VERSION_REF#v}"
@@ -134,6 +135,7 @@ jobs:
steps:
- name: Extract version number
id: version
shell: bash
run: |
VERSION_REF="${GITHUB_REF##*/}"
VERSION_BASE="${VERSION_REF#v}"
@@ -390,6 +392,7 @@ jobs:
- name: Extract version number
id: version
shell: bash
run: |
VERSION_REF="${GITHUB_REF##*/}"
VERSION_BASE="${VERSION_REF#v}"
@@ -20,6 +20,7 @@ jobs:
- name: Extract version from tag
id: version
shell: bash
run: |
TAG_NAME="${{ github.event.release.tag_name }}"
TAG_VERSION="${TAG_NAME#v}"