ci(docs): ensure documentation version matches release version#3709
ci(docs): ensure documentation version matches release version#3709adrianschmidt merged 1 commit intomainfrom
Conversation
Documentation was being generated from the commit before semantic-release's version bump, opening the risk of potentialluy using the previous version number. Now checks out the release tag to ensure package.json has the correct version when building the documentation.
📝 WalkthroughWalkthroughThe changes enable dynamic Git reference passing through GitHub Actions workflows. A new Changes
Sequence Diagram(s)sequenceDiagram
participant release as Release Workflow
participant sem as Semantic Release Step
participant pub as Publish Docs Workflow
participant checkout as Checkout Action
release->>sem: Execute semantic-release
sem-->>release: Output: new_release_git_tag
release->>pub: Call publish-docs workflow<br/>ref: new_release_git_tag
pub->>checkout: Checkout with ref parameter
checkout-->>pub: Repository checked out at tag
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🎉 This PR is included in version 38.29.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Documentation was being generated from the commit before semantic-release's version bump, opening the risk of potentialluy using the previous version number. Now checks out the release tag to ensure package.json has the correct version when building the documentation.
Summary by CodeRabbit
Review:
Browsers tested:
(Check any that applies, it's ok to leave boxes unchecked if testing something didn't seem relevant.)
Windows:
Linux:
macOS:
Mobile: