From 4746ee900f735ccd1f479288bc2ae614b5f707a0 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Wed, 30 Apr 2025 10:05:47 -0700 Subject: [PATCH] fix: remove expected dot after v in rust-v tag name (#742) I think this extra dot was not intentional, but I'm not sure. Certainly this comment suggests it should not be there: https://github.com/openai/codex/blob/85999d72770832e2b1b457401c6c68d86e08344b/.github/workflows/rust-release.yml#L4 --- .github/workflows/rust-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 19618e61..d62cda08 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -9,14 +9,14 @@ name: rust-release on: push: tags: - - "rust-v.*.*.*" + - "rust-v*.*.*" concurrency: group: ${{ github.workflow }} cancel-in-progress: true env: - TAG_REGEX: '^rust-v\.[0-9]+\.[0-9]+\.[0-9]+$' + TAG_REGEX: '^rust-v[0-9]+\.[0-9]+\.[0-9]+$' jobs: tag-check: @@ -37,7 +37,7 @@ jobs: || { echo "❌ Tag '${GITHUB_REF_NAME}' != ${TAG_REGEX}"; exit 1; } # 2. Extract versions - tag_ver="${GITHUB_REF_NAME#rust-v.}" + tag_ver="${GITHUB_REF_NAME#rust-v}" cargo_ver="$(grep -m1 '^version' codex-rs/Cargo.toml \ | sed -E 's/version *= *"([^"]+)".*/\1/')"