File tree 3 files changed +15
-2
lines changed
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
environment : deploy
8
8
name : deploy
9
+ permissions :
10
+ contents : write
9
11
env :
10
- gh_token : ${{ secrets.GH_TOKEN }}
12
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
11
13
steps :
12
14
- uses : actions/checkout@v3
13
15
- name : jdk 11
17
19
distribution : ' temurin'
18
20
- name : gradle caching
19
21
uses : gradle/gradle-build-action@v2
22
+ - run : git fetch origin main
20
23
- name : publish all
21
- run : ./gradlew changelogPush -Prelease=true -Penable_publishing=true --stacktrace --warning-mode all
24
+ run : ./gradlew changelogPush -Prelease=true -Penable_publishing=true --stacktrace --warning-mode all
25
+ - run : git checkout main
26
+ - run : git merge release --ff-only
27
+ - run : git push origin main
Original file line number Diff line number Diff line change 78
78
79
79
# Changelog
80
80
## [ Unreleased]
81
+ ### Changed
82
+ - ** BREAKING** ` spotlessChangelog ` now creates GitHub releases by default ([ #6 ] ( https://github.com/diffplug/blowdryer-diffplug/pull/6 ) )
83
+ - you need to update your ` deploy.yml `
84
+ - if you set the ` tagPrefix ` , then you'll need to update the ` runAfterPush `
85
+ - see PR above for details
81
86
82
87
## [ 7.3.0] - 2024-06-06
83
88
### Added
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ if (tasks.names.contains('changelogCheck')) {
31
31
spotlessChangelog {
32
32
branch ' release'
33
33
appendDashSnapshotUnless_dashPrelease = true
34
+ tagMessage ' {{changes}}'
35
+ runAfterPush " gh release create release/{{version}} --title 'v{{version}}' --notes-from-tag"
34
36
}
35
37
// set the project version for POM, jar manifest, etc.
36
38
version = spotlessChangelog. versionNext
You can’t perform that action at this time.
0 commit comments