Skip to content

Commit 31b4606

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 31b4606

2 files changed

Lines changed: 1 addition & 2 deletions

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

.github/workflows/generate-library.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ jobs:
224224
gh release create "library-docs-${VERSION}" \
225225
--title "Library Docs ${VERSION}" \
226226
--notes "Pre-built library documentation for fast preview builds. Generated $(date -u +'%Y-%m-%d %H:%M:%S UTC')." \
227-
--prerelease \
228227
library-docs.tar.gz
229228
230229
- name: Cleanup Old Releases

0 commit comments

Comments
 (0)