Member-only story
Setting up changesets for automated changelog management and releases with GitHub actions
Automating the annoying stuff with the power of Changesets
Changesets is a workflow tool that helps developers with software versioning and automated releases. During software development, contributors can create a changeset with semantic versioning information to represent a set of related changes, such as bug fixes or new features. Each changeset includes a description of the changes and a list of affected packages.
When a new package version is ready to be released, changesets can trigger a release process to merge these entries and automatically generate release notes. With the use of the changesets/changelog-github
extension, we can further automate this process by setting up a GitHub actions workflow that always keeps a version release PR up to date. When it is time to release, all we need to do is simply merge this version release PR.
Many popular open source packages are using changesets, such as XState, Emotion, and mobx.
Let’s show you how to setup this awesome workflow 🤖.
—