2
0

fix: use GITHUB_REF instead of GITHUB_REF_NAME for version extraction
Some checks failed
Release / build (amd64, darwin) (push) Successful in 47s
Release / build (amd64, linux) (push) Successful in 55s
Release / build (arm64, darwin) (push) Successful in 1m7s
Release / build (amd64, windows) (push) Successful in 1m10s
Release / build (arm64, linux) (push) Successful in 51s
Release / release (push) Successful in 26s
CI / build-and-test (push) Has been cancelled

This commit is contained in:
GitCaddy
2026-01-12 01:14:20 +00:00
parent a792b47b41
commit f92e50f35b

View File

@@ -33,7 +33,7 @@ jobs:
- name: Build
run: |
VERSION=${GITHUB_REF_NAME#v}
VERSION=${GITHUB_REF#refs/tags/v}
EXT=""
if [ "${{ matrix.goos }}" = "windows" ]; then
EXT=".exe"