mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
fix: correct shell parameter expansion in release workflow
This commit is contained in:
@@ -51,7 +51,7 @@ jobs:
|
|||||||
if [[ "${{ github.ref_type }}" == "tag" ]]; then
|
if [[ "${{ github.ref_type }}" == "tag" ]]; then
|
||||||
# For official releases, use the git tag as the version
|
# For official releases, use the git tag as the version
|
||||||
# Example: v1.2.3 -> 1.2.3
|
# Example: v1.2.3 -> 1.2.3
|
||||||
RELEASE_VERSION="${{ github.ref_name#v }}"
|
RELEASE_VERSION="${GITHUB_REF_NAME#v}"
|
||||||
NPM_TAG="latest"
|
NPM_TAG="latest"
|
||||||
else
|
else
|
||||||
# For pre-releases, create a version like 1.2.3-next.1
|
# For pre-releases, create a version like 1.2.3-next.1
|
||||||
|
|||||||
Reference in New Issue
Block a user