Skip to content

Commit d36d847

Browse files
committed
ci(releaserc): add semantic release
1 parent 8513799 commit d36d847

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.releaserc.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"branches": ["main"],
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
"@semantic-release/changelog",
7+
[
8+
"@semantic-release/exec",
9+
{
10+
"prepareCmd": "sed -i '' 's|<Version>.*</Version>|<Version>${nextRelease.version}</Version>|' src/Flowrex/Flowrex.csproj"
11+
}
12+
],
13+
[
14+
"@semantic-release/git",
15+
{
16+
"assets": ["CHANGELOG.md", "src/Flowrex/Flowrex.csproj"],
17+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
18+
}
19+
],
20+
"@semantic-release/github"
21+
]
22+
}

0 commit comments

Comments
 (0)