mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
fix(release): use preview tag for preview versions (#8370)
This commit is contained in:
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -74,6 +74,9 @@ jobs:
|
||||
# The version for npm should not have the 'v' prefix.
|
||||
RELEASE_VERSION="${RELEASE_TAG#v}"
|
||||
NPM_TAG="latest"
|
||||
if [[ "${RELEASE_TAG}" == *"preview"* ]]; then
|
||||
NPM_TAG="preview"
|
||||
fi
|
||||
PREVIOUS_TAG=$(git describe --tags --abbrev=0)
|
||||
echo "RELEASE_TAG=${RELEASE_TAG}" >> "${GITHUB_OUTPUT}"
|
||||
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> "${GITHUB_OUTPUT}"
|
||||
|
||||
Reference in New Issue
Block a user