fix(ci): fix release automation — add version_toml, gate PyPI publish#987
Merged
fix(ci): fix release automation — add version_toml, gate PyPI publish#987
Conversation
Enhanced the Quick Start section with: - "What You'll See" sections showing example terminal output for each command - Clear success indicators to help users verify things are working - Structured subsections for Installation, Collect, Learn, and Evaluate This addresses Phase 1 quick wins from documentation review (task a4441ff): highest value improvements that help users know when things are working correctly. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fix critical markdown rendering issue where "software **adapt**er" displayed with literal stars instead of bold formatting. Update package documentation with comprehensive coverage of new features: episode segmentation, recording catalog, advanced search, and screenshot automation. Changes: - Fix: Remove nested bold formatting causing stars to render literally - Add: Screenshot autogeneration script (450 lines, Playwright-based) - Add: Episode segmentation documentation (ML package) - Add: Recording catalog system documentation (viewer package) - Add: Advanced search documentation (viewer package) - Add: Component library reference (viewer package) - Add: Comprehensive change summary (DOCS_UPDATE_SUMMARY.md) - Update: Viewer documentation (+148% expansion, 136→336 lines) - Update: ML documentation (+79% expansion, 155→277 lines) Files modified: - docs/index.md (fix stars issue) - docs/design/landing-page-strategy.md (fix stars issue) - docs/packages/viewer.md (add new features) - docs/packages/ml.md (add episode segmentation) Files created: - docs/_scripts/generate_docs_screenshots.py (screenshot automation) - docs/_scripts/README.md (script documentation) - docs/DOCS_UPDATE_SUMMARY.md (comprehensive summary) This addresses user-reported issues with documentation quality and ensures all January 2026 features are properly documented with examples, schemas, and usage patterns. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…publish Two issues fixed: 1. Missing [tool.semantic_release] version_toml config — semantic-release created tags but never updated pyproject.toml, so poetry kept building v1.0.0 while tags were at v1.0.4. 2. Build step ran when no release was made — now gated on steps.release.outputs.released == 'true'. - Add [tool.semantic_release] section with version_toml pointing to pyproject.toml - Add id: release to PSR step so outputs are accessible - Sync pyproject.toml version to 1.0.4 (matches latest tag) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
released == 'true'to prevent stale publishesRoot cause
Two issues:
Missing
version_tomlconfig: No[tool.semantic_release]section in pyproject.toml, so semantic-release created tags (v1.0.1 through v1.0.4) and updated CHANGELOG.md but never updated the version in pyproject.toml. Poetry kept building v1.0.0.Ungated publish step: The "Build and publish to PyPI" step ran even when no release was made, attempting to publish the stale v1.0.0 package (silently skipped by
--skip-existing).Changes
pyproject.toml: Add[tool.semantic_release]section withversion_tomlpointing to pyproject.tomlpyproject.toml: Sync version to 1.0.4release-and-publish.yml: Addid: releaseto PSR steprelease-and-publish.yml: Gate publish onsteps.release.outputs.released == 'true'🤖 Generated with Claude Code