Skip to content

Release only for user-facing changes with semantic-release-user-facing #74

Open

Description

@Mearman

The release config patch-releases build, chore, ci, docs, refactor, style and test commits, so a commit that only touches tests, docs, CI or tooling still publishes a version.

semantic-release-user-facing replaces @semantic-release/commit-analyzer and @semantic-release/release-notes-generator with versions that drop commits touching nothing a consumer can observe (tests, docs, CI, lockfiles, dev-only package.json fields) before the stock plugins see them. The stock options pass through unchanged, so the change is pnpm add -D semantic-release-user-facing and the two plugin names in .releaserc.json: semantic-release-user-facing for the analyzer and semantic-release-user-facing/notes for the notes generator.

Done when a test-only commit on the default branch gives no release in a semantic-release dry run and a source commit still does. Paths specific to this repository that never ship go in userFacing.exclude.

Part of ExaDev/semantic-release-user-facing#2. Plugin documentation: https://github.com/ExaDev/semantic-release-user-facing#readme

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions