From 51861f29551c556bf24c36a301ddc2b27572120e Mon Sep 17 00:00:00 2001 From: milldr Date: Tue, 6 Jan 2026 14:45:38 -0500 Subject: [PATCH] fix: use tab delimiter when parsing gh release list output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The gh release list output is tab-separated. Without -F'\t', awk splits on whitespace and extracts "0.0.20260106193421" (field 3 by whitespace) instead of "library-docs-0.0.20260106193421" (field 3 by tabs). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/actions/build-website/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build-website/action.yml b/.github/actions/build-website/action.yml index d51ede7fb..83674f4ac 100644 --- a/.github/actions/build-website/action.yml +++ b/.github/actions/build-website/action.yml @@ -67,7 +67,7 @@ runs: GH_TOKEN: ${{ inputs.repo_access_token }} run: | echo "Finding latest library-docs release..." - LATEST_TAG=$(gh release list --repo ${{ github.repository }} --limit 50 | grep "library-docs-" | head -1 | awk '{print $3}') + LATEST_TAG=$(gh release list --repo ${{ github.repository }} --limit 50 | grep "library-docs-" | head -1 | awk -F'\t' '{print $3}') if [ -z "$LATEST_TAG" ]; then echo "Error: No library-docs release found. Run the 'Generate Library' workflow first." exit 1