forked from khvn26/mappers
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrelease.config.js
More file actions
34 lines (34 loc) · 802 Bytes
/
release.config.js
File metadata and controls
34 lines (34 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
module.exports = {
repositoryUrl: "https://github.com/dry-python/mappers",
tagFormat: "${version}",
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
changelogFile: "docs/changelog.md"
}
],
[
"@semantic-release/exec",
{
prepareCmd:
"tox -e precommit -- --files docs/changelog.md ; poetry version ${nextRelease.version} && poetry build",
publishCmd: "poetry publish"
}
],
[
"@semantic-release/git",
{
assets: ["docs/changelog.md", "pyproject.toml"]
}
],
[
"@semantic-release/github",
{
assets: [{ path: "dist/*.whl" }, { path: "dist/*.tar.gz" }]
}
]
]
};