fix: correct shell parameter expansion in release workflow

This commit is contained in:
mkorwel
2025-07-01 11:00:34 -05:00
parent 67198d2df5
commit 70d5f386c8

View File

@@ -51,7 +51,7 @@ jobs:
if [[ "${{ github.ref_type }}" == "tag" ]]; then
# For official releases, use the git tag as the version
# Example: v1.2.3 -> 1.2.3
RELEASE_VERSION="${{ github.ref_name#v }}"
RELEASE_VERSION="${GITHUB_REF_NAME#v}"
NPM_TAG="latest"
else
# For pre-releases, create a version like 1.2.3-next.1