Skip to content

Commit

Permalink
ci: minor changes to release rules
Browse files Browse the repository at this point in the history
  • Loading branch information
line-o committed Apr 22, 2024
1 parent 96f3152 commit ceb9c3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": "./conventionalcommits.config.cjs"
"preset": "conventionalcommits"
}],
["@semantic-release/exec", {
"prepareCmd": "ant -Dapp.version=${nextRelease.version}"
Expand All @@ -29,4 +28,4 @@
]
}]
]
}
}
6 changes: 5 additions & 1 deletion conventionalcommits.config.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Change default header pattern matcher to match headers with no colon.
// This will make the first __word__ in free-form commit message headers the __type__.
// With this non-empty type we can do a negated match (the type being anything but
// one of the other keywords with associated release rules).
module.exports = {
headerPattern: /^(\w*)(?:\(([\w\$\.\-\* ]*)\))?\:? (.*)$/
}
}

0 comments on commit ceb9c3b

Please sign in to comment.