Configure changesets to create GitHub releases and tags#415
Merged
Conversation
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
abernier
reviewed
Jan 15, 2026
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix issue with GitHub releases and git tags not being created
Configure changesets to create GitHub releases and tags
Jan 15, 2026
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
abernier
reviewed
Jan 15, 2026
| { | ||
| "$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json", | ||
| "changelog": "@changesets/cli/changelog", | ||
| "changelog": ["@changesets/changelog-github", { "repo": "pmndrs/docs" }], |
Contributor
Author
There was a problem hiding this comment.
This changes the changelog generator from the basic @changesets/cli/changelog to @changesets/changelog-github. The GitHub version automatically creates richer changelogs by:
- Linking commit SHAs to GitHub commits
- Linking PR numbers to actual PRs
- Mentioning GitHub usernames (e.g., @abernier)
This makes the generated CHANGELOG.md and GitHub releases more useful since they have clickable links to commits, PRs, and contributors instead of just plain text.
Member
|
finally execute |
…releases and git tags
Contributor
Author
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.
Changesets was only creating version bump PRs but not creating GitHub releases or git tags when merged. Since this repo uses changesets purely for semver (not NPM publishing), releases and tags need to be created using the native changesets features.
Changes
.changeset/config.json: Switch to@changesets/changelog-githubfor richer changelogs with commit/PR/user linkspackage.json: Add@changesets/changelog-githubdev dependency.github/workflows/release.yml: Configurechangesets/action@v1to automatically create tags and releases:publish: npm run releaseparameter (runschangeset publishwhich creates git tags even for private packages)createGithubReleases: trueto automatically create GitHub releases using changelog entriesHow It Works
When a "Version Packages" PR merges, the
changesets/action@v1automatically:changeset publishwhich creates git tags (e.g.,v2.20.14)The solution uses native Changesets features instead of custom shell scripts, making it simpler and more maintainable.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.