Skip to content

Commit 6c0dfc7

Browse files
committed
Adding .releaserc
1 parent cbd52ff commit 6c0dfc7

File tree

2 files changed

+473
-0
lines changed

2 files changed

+473
-0
lines changed

.releaserc

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"branches": ["main"],
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
[
7+
"@google/semantic-release-replace-plugin", {
8+
"replacements": [
9+
{
10+
"files": ["Project.toml"],
11+
"from": "version = \".*\"",
12+
"to": "version = \"${nextRelease.version}\"",
13+
"results": [
14+
{
15+
"file": "Project.toml",
16+
"hasChanged": true,
17+
"numMatches": 1,
18+
"numReplacements": 1
19+
}
20+
],
21+
"countMatches": true
22+
}
23+
]
24+
}
25+
],
26+
[
27+
"@semantic-release/changelog", {
28+
"changelogTitle": "# Changelog"
29+
}
30+
],
31+
[
32+
"@semantic-release/git", {
33+
"assets": ["CHANGELOG.md", "Project.toml"],
34+
"message": "chore: release v${nextRelease.version}\n\n${nextRelease.notes}"
35+
}
36+
],
37+
"@semantic-release/github"
38+
],
39+
"repositoryUrl": "[email protected]:jaantollander/SemanticReleaseExample.jl.git"
40+
}

0 commit comments

Comments
 (0)