Skip to content

Commit c0bffbb

Browse files
committed
chore(semantic-release): update semantic-release configuration
1 parent e6b97d6 commit c0bffbb

File tree

1 file changed

+6
-27
lines changed

1 file changed

+6
-27
lines changed

.releaserc

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,23 @@
11
{
2-
"branches": [
3-
"master",
4-
{
5-
"name": "rc",
6-
"prerelease": true
7-
}
8-
],
92
"debug": true,
3+
"branches": [ "master" ],
4+
"tagFormat": "v${version}",
105
"plugins": [
116
"@semantic-release/commit-analyzer",
127
"@semantic-release/release-notes-generator",
138
"@semantic-release/changelog",
149
[
1510
"@semantic-release/exec",
1611
{
17-
"prepareCmd": ".utility/bumpversion.sh ${lastRelease.version} ${nextRelease.version}"
18-
}
19-
],
20-
[
21-
"@semantic-release/exec",
22-
{
23-
"prepareCmd": "./gradlew clean shadowJar"
12+
"prepareCmd": "bump2version --allow-dirty --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
2413
}
2514
],
2615
[
2716
"@semantic-release/git",
2817
{
29-
"message": "docs(release): Add release notes for ${nextRelease.version}"
18+
"message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}"
3019
}
3120
],
32-
[
33-
"@semantic-release/github",
34-
{
35-
"assets": [
36-
{
37-
"path": "ibm-watson/build/libs/*.jar",
38-
"name": "ibm-watson-${nextRelease.version}-jar-with-dependencies.jar"
39-
}
40-
]
41-
}
42-
]
21+
"@semantic-release/github"
4322
]
44-
}
23+
}

0 commit comments

Comments
 (0)