Skip to content

Commit 3584ff7

Browse files
milldrclaude
andcommitted
fix: extract correct column from gh release list output
The tag is in column 3, not column 1. The previous awk command was extracting "Library" (first word of title) instead of the actual tag like "library-docs-0.0.20260106193421". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8783263 commit 3584ff7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/build-website/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ runs:
6767
GH_TOKEN: ${{ inputs.repo_access_token }}
6868
run: |
6969
echo "Finding latest library-docs release..."
70-
LATEST_TAG=$(gh release list --repo ${{ github.repository }} --limit 50 | grep "library-docs-" | head -1 | awk '{print $1}')
70+
LATEST_TAG=$(gh release list --repo ${{ github.repository }} --limit 50 | grep "library-docs-" | head -1 | awk '{print $3}')
7171
if [ -z "$LATEST_TAG" ]; then
7272
echo "Error: No library-docs release found. Run the 'Generate Library' workflow first."
7373
exit 1

0 commit comments

Comments
 (0)