mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
fix tagging for nightly
This commit is contained in:
@@ -64,8 +64,8 @@ jobs:
|
|||||||
echo "Initial RELEASE_TAG: ${RELEASE_TAG}"
|
echo "Initial RELEASE_TAG: ${RELEASE_TAG}"
|
||||||
|
|
||||||
# Validate that the tag starts with 'v' and follows semver
|
# Validate that the tag starts with 'v' and follows semver
|
||||||
if [[ ! "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.-]+)?$ ]]; then
|
if [[ ! "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.-]+)?(\+[a-zA-Z0-9.-]+)?$ ]]; then
|
||||||
echo "Error: Version must be in the format vX.Y.Z or vX.Y.Z-prerelease"
|
echo "Error: Version must be in the format vX.Y.Z, vX.Y.Z-prerelease, or vX.Y.Z+buildmeta"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -140,4 +140,4 @@ jobs:
|
|||||||
- name: Publish @google/gemini-cli
|
- name: Publish @google/gemini-cli
|
||||||
run: npm publish --workspace=@google/gemini-cli --tag=${{ steps.version.outputs.NPM_TAG }} ${{ inputs.dry_run && '--dry-run' || '' }}
|
run: npm publish --workspace=@google/gemini-cli --tag=${{ steps.version.outputs.NPM_TAG }} ${{ inputs.dry_run && '--dry-run' || '' }}
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.WOMBAT_TOKEN_CLI }}
|
NODE_AUTH_TOKEN: ${{ secrets.WOMBAT_TOKEN_CLI }}
|
||||||
Reference in New Issue
Block a user