-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathrelease.config.js
44 lines (44 loc) · 1018 Bytes
/
release.config.js
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
35
36
37
38
39
40
41
42
43
44
module.exports = {
repositoryUrl: "https://github.com/proofit404/stories",
branches: ["release"],
tagFormat: "${version}",
plugins: [
"@semantic-release/commit-analyzer",
[
"@semantic-release/release-notes-generator",
{
linkCompare: false,
linkReferences: false,
},
],
[
"@semantic-release/changelog",
{
changelogFile: "docs/changelog.md",
},
],
[
"@semantic-release/exec",
{
prepareCmd:
"./scripts/check ; " +
"poetry version ${nextRelease.version} && " +
"npm version --no-git-tag-version ${nextRelease.version} && " +
"poetry build",
publishCmd: "poetry publish",
},
],
[
"@semantic-release/git",
{
assets: ["docs/changelog.md", "pyproject.toml", "package.json"],
},
],
[
"@semantic-release/github",
{
assets: [{ path: "dist/*.whl" }, { path: "dist/*.tar.gz" }],
},
],
],
};