Fix rust-release run ID parsing in ci npm staging

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-03-19 01:33:24 +00:00
parent 468dc1f09a
commit 963d109cff

View File

@@ -51,7 +51,8 @@ jobs:
fi
for WORKFLOW_URL in $WORKFLOW_URLS; do
CODEX_VERSION="$(gh run view "$WORKFLOW_URL" --json headBranch -q '.headBranch | sub("^rust-v"; "")')"
WORKFLOW_ID="${WORKFLOW_URL##*/}"
CODEX_VERSION="$(gh run view "$WORKFLOW_ID" --json headBranch -q '.headBranch | sub("^rust-v"; "")')"
echo "Attempting npm staging from ${WORKFLOW_URL} (version ${CODEX_VERSION})."
if python3 ./scripts/stage_npm_packages.py \