feat: put release version in the Version Packages PR title - #60
Merged
Conversation
Use the github plugin's versionPr.create() hook to title the PR "chore: release v<version>" (e.g. chore: release v0.20.0), restoring the behavior of the old Changesets workflow. All packages share one version via the group, so the published renderer's bumped version represents the release. Verified the computed title against the live draft: chore: release v0.20.0.
Contributor
TegamiThis repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under Create a changelog → · Changelog format Release preview
This PR does not add changelog files. Pending changelogs from other branches are included in the preview above. Run Managed by Tegami. |
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.
Restores the old Changesets behavior of including the version in the release PR title.
Uses the
githubplugin'sversionPr.create()hook in scripts/tegami.mts to title the auto-generated Version Packages PRchore: release v<version>. Since all packages share one version via thetegakigroup, the published renderer's bumped version stands in for the whole release.Verified the computed title against the live draft →
chore: release v0.20.0. The hook only does version math (no markdown rendering), so it's unaffected by the draft path.Note: this won't retitle the already-open #59 (created before this lands); it applies to the next Version Packages PR.