Skip to content

ci(release): release refactor commits as a patch - #504

Merged
drichar merged 1 commit into
mainfrom
ci/release-refactor-patch
Nov 24, 2026
Merged

drichar merged 1 commit into
mainfrom
ci/release-refactor-patch

Conversation

@drichar

@drichar drichar commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

@semantic-release/commit-analyzer had no releaseRules, so it used the Angular defaults, where only feat, fix and perf trigger a release. refactor commits never published, even though AGENTS.md lists refactor as a patch. The refactor entry in the release notes generator's config only controls how the changelog displays it.

This came up when #503 (refactor(passkey): replace canonify with canonicalize) merged and the release run reported "no release".

Changes

  • Add releaseRules: [{ type: 'refactor', release: 'patch' }] to @semantic-release/commit-analyzer. Commits that match no rule still fall back to the default rules, so feat, fix, perf and the non-releasing types are unchanged.

Release

This PR's own commit is ci, which doesn't release. But semantic-release re-analyzes every commit since v5.4.1 using the new config, so the run for this merge picks up #503 and publishes 5.4.2.

commit-analyzer had no releaseRules, so it used the angular defaults,
where only feat, fix and perf release. refactor commits never
published, even though AGENTS.md lists refactor as a patch.
@drichar
drichar merged commit 8dc6736 into main Nov 24, 2026
1 check passed
@drichar
drichar deleted the ci/release-refactor-patch branch November 24, 2026 15:33
@txnlab-release-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant