Skip to content

Improve library release process #564

@lukasmatta

Description

@lukasmatta

Right now every push to master that touches the library auto-bumps the minor version and publishes to npm. Problems:

  • Flooding library consumers with too many versions
  • Always bumps minor - patch/major change has to be modified manually
  • PR merger might forget to include #SkipVersionBump to skip the version bump & publish
  • Release notes workflow is manual and disconnected from the actual publish

Goal

Decouple merges from releases. Merging to master = code is ready, not ship it. Releases should be intentional, batching multiple changes into one versioned, documented publish.

Two options to evaluate

Changesets - each PR includes a small file describing the change and semver impact, bot batches them into a release PR.
Release Please - reads conventional commits and opens a release PR automatically. Relies on semantic commit messages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions