From 553ca4a8581c11a21fd5345880866779f99445ed Mon Sep 17 00:00:00 2001 From: mkorwel Date: Thu, 3 Jul 2025 22:06:12 -0700 Subject: [PATCH] fix tagging for nightly --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d73a74c8a..0a2cce0d69 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,8 +64,8 @@ jobs: echo "Initial RELEASE_TAG: ${RELEASE_TAG}" # 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 - echo "Error: Version must be in the format vX.Y.Z or vX.Y.Z-prerelease" + 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, vX.Y.Z-prerelease, or vX.Y.Z+buildmeta" exit 1 fi @@ -140,4 +140,4 @@ jobs: - name: Publish @google/gemini-cli run: npm publish --workspace=@google/gemini-cli --tag=${{ steps.version.outputs.NPM_TAG }} ${{ inputs.dry_run && '--dry-run' || '' }} env: - NODE_AUTH_TOKEN: ${{ secrets.WOMBAT_TOKEN_CLI }} + NODE_AUTH_TOKEN: ${{ secrets.WOMBAT_TOKEN_CLI }} \ No newline at end of file