File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1
1
String kind
2
+ String releaseTitle
2
3
if (project. name == ' plugin-gradle' ) {
3
4
kind = ' gradle'
5
+ releaseTitle = ' Gradle Plugin'
4
6
} else if (project. name == ' plugin-maven' ) {
5
7
kind = ' maven'
8
+ releaseTitle = ' Maven Plugin'
6
9
} else {
7
10
assert project == rootProject
8
11
kind = ' lib'
12
+ releaseTitle = ' Lib'
9
13
}
10
14
11
15
// the root project and plugins have their own changelogs
@@ -18,6 +22,8 @@ spotlessChangelog {
18
22
branch ' release'
19
23
tagPrefix " ${ kind} /"
20
24
commitMessage " Published ${ kind} /{{version}}" // {{version}} will be replaced
25
+ tagMessage ' {{changes}}'
26
+ runAfterPush " gh release create ${ kind} /{{version}} --title '${ releaseTitle} v{{version}}' --notes-from-tag"
21
27
22
28
if (kind == ' gradle' ) {
23
29
forceNextVersion ' 7.0.0.BETA2'
You can’t perform that action at this time.
0 commit comments