Skip to content

Conversation

@milldr
Copy link
Member

@milldr milldr commented Jan 23, 2026

what

  • Library docs are now uploaded to the upcoming draft release instead of creating separate library-docs-* releases
  • PR builds check the draft release first for library docs, falling back to the latest published release
  • Removed cleanup logic for library-docs-* releases (no longer needed)

why

  • Separate library-docs-* releases were being marked as the repository's "latest" release
  • This caused release-drafter to fail version parsing, making new real releases start at version 0.1.0 instead of incrementing from the previous version (e.g., 2.1.0 after 2.0.0)
  • Storing library docs in the draft release prevents interference with semantic versioning

references

  • Fixes release cycle broken by library docs packaging PR

🤖 Generated with Claude Code

Changed library docs packaging from creating separate library-docs-* releases
to uploading into the upcoming draft release. This prevents LibriDocs releases
from interfering with semantic versioning of real releases.

For PR builds, library docs are downloaded from the draft release (if available)
before falling back to the latest published release.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
The grep command returns exit code 1 when no lines match, which causes
the shell script to fail with set -e. Wrap grep in subshell with || true
to handle the case where no draft release is found.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@milldr milldr merged commit 9a33329 into master Jan 23, 2026
3 checks passed
@milldr milldr deleted the milldr/fix-release-versioning branch January 23, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants