generated from tophat/new-project-kit
-
Notifications
You must be signed in to change notification settings - Fork 37
/
.releaserc.js
19 lines (19 loc) · 1.08 KB
/
.releaserc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module.exports = {
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
changelogTitle:
"# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).\n\nFrom v1.0.0 onwards, this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Pre-v1, breaking changes are indicated via a minor release, while all other changes fall under patches. At any time, you can see what's in progress for a version by filtering GitHub issues by milestone.",
},
],
["@semantic-release/exec", {
prepareCmd: "poetry version -n ${nextRelease.version}",
publishCmd: "poetry run invoke release --no-dry-run --version ${nextRelease.version}"
}],
["@semantic-release/git", { assets: ["CHANGELOG.md", "pyproject.toml"] }],
"@semantic-release/github",
],
};