Skip to content

Commit 27dc68d

Browse files
committed
ci: preserve automatic release run detection
Keep the consolidated release flow aligned with upstream's automatic run lookup after the rebase so the workflow inputs and release docs stay consistent. Made-with: Cursor
1 parent d7a7749 commit 27dc68d

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

.github/RELEASE-core.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ publish to TestPyPI, then publish the same wheel set to PyPI.
131131
- **The release git tag**: `cuda-core-v0.6.0`
132132

133133
The workflow automatically looks up the successful tag-triggered CI run
134-
for the selected release tag. If needed, you can also provide the
135-
optional run ID input explicitly.
134+
for the selected release tag.
136135

137136
2. Wait for the workflow to complete. It will:
138137
- publish the selected wheels to TestPyPI

.github/workflows/release.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,10 @@ jobs:
5252
env:
5353
GH_TOKEN: ${{ github.token }}
5454
run: |
55-
if [[ -n "${{ inputs.run-id }}" ]]; then
56-
echo "Using provided run ID: ${{ inputs.run-id }}"
57-
echo "run-id=${{ inputs.run-id }}" >> "$GITHUB_OUTPUT"
58-
else
59-
echo "Auto-detecting successful tag-triggered run ID for tag: ${{ inputs.git-tag }}"
60-
RUN_ID=$(./ci/tools/lookup-run-id "${{ inputs.git-tag }}" "${{ github.repository }}")
61-
echo "Auto-detected run ID: $RUN_ID"
62-
echo "run-id=$RUN_ID" >> "$GITHUB_OUTPUT"
63-
fi
55+
echo "Auto-detecting successful tag-triggered run ID for tag: ${{ inputs.git-tag }}"
56+
RUN_ID=$(./ci/tools/lookup-run-id "${{ inputs.git-tag }}" "${{ github.repository }}")
57+
echo "Auto-detected run ID: $RUN_ID"
58+
echo "run-id=$RUN_ID" >> "$GITHUB_OUTPUT"
6459
6560
check-tag:
6661
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)