diff --git a/.github/actions/build-website/action.yml b/.github/actions/build-website/action.yml index 6f7f852ac..d51ede7fb 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 $1}') + LATEST_TAG=$(gh release list --repo ${{ github.repository }} --limit 50 | grep "library-docs-" | head -1 | awk '{print $3}') if [ -z "$LATEST_TAG" ]; then echo "Error: No library-docs release found. Run the 'Generate Library' workflow first." exit 1 diff --git a/.github/workflows/generate-library.yml b/.github/workflows/generate-library.yml index 0b3b2e18b..e50773da2 100644 --- a/.github/workflows/generate-library.yml +++ b/.github/workflows/generate-library.yml @@ -224,7 +224,6 @@ jobs: gh release create "library-docs-${VERSION}" \ --title "Library Docs ${VERSION}" \ --notes "Pre-built library documentation for fast preview builds. Generated $(date -u +'%Y-%m-%d %H:%M:%S UTC')." \ - --latest \ library-docs.tar.gz - name: Cleanup Old Releases