Skip to content

Commit

Permalink
chore(release-config): use a different place for the force-release tag (
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainCoudour authored Feb 28, 2023
1 parent eca326c commit a287c32
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ module.exports = {
[
"@semantic-release/commit-analyzer",
{
preset: "angular",
releaseRules: [
// This rule allow to force a release by adding "force-release" in scope.
// Example: `chore(force-release): support new feature`
// Source: https://github.com/semantic-release/commit-analyzer#releaserules
{ scope: "force-release", release: "patch" },
// Example: `type(scope): subject [force release]`
{ subject: "*[force release]*", release: "patch" },
],
},
],
Expand Down

0 comments on commit a287c32

Please sign in to comment.