-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.releaserc.json
More file actions
36 lines (36 loc) · 1.29 KB
/
Copy path.releaserc.json
File metadata and controls
36 lines (36 loc) · 1.29 KB
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
{
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogTitle": "# Changelog\n\nAll notable changes to feelc are documented here. This file is generated by\n[semantic-release](https://github.com/semantic-release/semantic-release) from the\n[Conventional Commits](https://www.conventionalcommits.org/) on `main`."
}
],
[
"@semantic-release/exec",
{
"publishCmd": "if ! git rev-parse -q --verify refs/tags/v${nextRelease.version} >/dev/null; then git tag v${nextRelease.version} && git push origin v${nextRelease.version}; fi && goreleaser release --clean --skip=publish && bash scripts/release-publish.sh ${nextRelease.version}"
}
],
[
"@semantic-release/github",
{
"assets": [
{ "path": "dist/*.tar.gz", "label": "Binaries (tar.gz)" },
{ "path": "dist/*.zip", "label": "Binaries (zip, Windows)" },
{ "path": "dist/checksums.txt", "label": "checksums.txt" }
]
}
],
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}