diff --git a/.github/workflows/promote-release.yml b/.github/workflows/promote-release.yml index c4a6581c7..5512c8be5 100644 --- a/.github/workflows/promote-release.yml +++ b/.github/workflows/promote-release.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: inputs: rc_tag: - description: "RC tag to promote (e.g., v1.1.0-rc1)" + description: "RC tag to promote (e.g., v1.3.0-rc.1)" required: true type: string @@ -30,7 +30,7 @@ jobs: GH_TOKEN: ${{ steps.app-token.outputs.token }} RC_TAG: ${{ inputs.rc_tag }} run: | - if ! echo "$RC_TAG" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+$'; then + if ! echo "$RC_TAG" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$'; then echo "::error::Invalid RC tag format: $RC_TAG (expected v*.*.*-rc*)" exit 1 fi