File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 43
43
uses : gradle/gradle-build-action@v3
44
44
with :
45
45
gradle-home-cache-cleanup : true
46
- - name : git fetch origin main
47
- run : git fetch origin main
46
+ - run : git fetch origin main
48
47
- name : publish all
49
48
if : " ${{ github.event.inputs.to_publish == 'all' }}"
50
49
run : |
51
50
./gradlew :changelogPush -Prelease=true -Penable_publishing=true -Pgradle.publish.key=${{ secrets.GRADLE_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_SECRET }} --stacktrace --warning-mode all
51
+ - run : git checkout main
52
+ - run : git merge release
53
+ - run : git push origin main
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ plugins {
3
3
id ' com.diffplug.spotless-changelog'
4
4
}
5
5
6
+ spotlessChangelog {
7
+ tagMessage ' {{changes}}'
8
+ runAfterPush " gh release create release/{{version}} --title 'v{{version}}' --notes-from-tag"
9
+ }
10
+
6
11
repositories { mavenCentral() }
7
12
8
13
group = 干. proj(' maven_group' , ' the maven group, recommend com.diffplug' )
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ plugins {
10
10
// https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md
11
11
id ' com.diffplug.spotless' version ' 7.0.0.BETA1' apply false
12
12
// https://github.com/diffplug/spotless-changelog/blob/main/CHANGELOG.md
13
- id ' com.diffplug.spotless-changelog' version ' 3.0.2 ' apply false
13
+ id ' com.diffplug.spotless-changelog' version ' 3.1.1 ' apply false
14
14
// https://plugins.gradle.org/plugin/com.gradle.plugin-publish
15
15
id ' com.gradle.plugin-publish' version ' 1.2.1' apply false
16
16
// https://github.com/equodev/equo-ide/blob/main/plugin-gradle/CHANGELOG.md
@@ -35,6 +35,7 @@ blowdryerSetup {
35
35
setPluginsBlockTo {
36
36
it. file ' plugin.versions'
37
37
it. file ' plugin-kotlin.versions'
38
+ it. replace ' 3.0.2' , ' 3.1.1'
38
39
}
39
40
}
40
41
You can’t perform that action at this time.
0 commit comments