Skip to content

Commit ecb288a

Browse files
committed
ci: Update example version in CI and fix up release config ordering
1 parent 65cf75d commit ecb288a

File tree

2 files changed

+25
-10
lines changed

2 files changed

+25
-10
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ message = Update version numbers from {current_version} -> {new_version}
3030
[bumpversion:file:visual-recognition/README.md]
3131

3232
[bumpversion:file:docker/pom.xml]
33+
34+
[bumpversion:file:examples/build.gradle]
3335
search = {current_version}
3436
replace = {new_version}
3537

.releaserc

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,30 @@
33
"tagFormat": "java-sdk-${version}",
44
"debug": true,
55
"plugins": [
6-
"@semantic-release/changelog",
76
"@semantic-release/commit-analyzer",
87
"@semantic-release/release-notes-generator",
9-
["@semantic-release/github", {
10-
"assets": [
11-
{"path": "ibm-watson/build/libs/ibm-watson-${nextRelease.version}-jar-with-dependencies.jar"}
12-
]
13-
}],
14-
["@semantic-release/exec", {
15-
"prepareCmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} --verbose --allow-dirty patch"
16-
}],
17-
"@semantic-release/git"
8+
"@semantic-release/changelog",
9+
[
10+
"@semantic-release/exec",
11+
{
12+
"prepareCmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} --verbose --allow-dirty patch"
13+
}
14+
],
15+
[
16+
"@semantic-release/git",
17+
{
18+
"message": "docs(release): Add release notes for ${nextRelease.version}"
19+
}
20+
],
21+
[
22+
"@semantic-release/github",
23+
{
24+
"assets": [
25+
{
26+
"path": "ibm-watson/build/libs/ibm-watson-${nextRelease.version}-jar-with-dependencies.jar"
27+
}
28+
]
29+
}
30+
]
1831
]
1932
}

0 commit comments

Comments
 (0)