Skip to content

Commit 7ba9c91

Browse files
fprochazkaclaude
andcommitted
upgrade jreleaser to 1.22.0, pin CI version from .sdkmanrc, fix signing deprecations
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 488ceaf commit 7ba9c91

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/jreleaser-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,14 @@ jobs:
3737
- name: Gradle build and publish to local
3838
run: ./gradlew publish -Pversion=${{ github.event.inputs.version }}
3939

40+
- name: Read JReleaser version from .sdkmanrc
41+
id: jreleaser-version
42+
run: echo "version=$(grep '^jreleaser=' .sdkmanrc | cut -d= -f2)" >> "$GITHUB_OUTPUT"
43+
4044
- name: JReleaser full-release
4145
uses: jreleaser/release-action@v2
4246
with:
47+
version: ${{ steps.jreleaser-version.outputs.version }}
4348
setup-java: false
4449
env:
4550
JRELEASER_STRICT: "true"

.sdkmanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
java=17.0.17-tem
2-
jreleaser=1.21.0
2+
jreleaser=1.22.0

jreleaser.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ checksum:
1111

1212
signing:
1313
active: ALWAYS
14-
mode: MEMORY
15-
armored: true
16-
checksums: false
14+
pgp:
15+
mode: MEMORY
16+
armored: true
17+
checksums: false
1718

1819
deploy:
1920
maven:

0 commit comments

Comments
 (0)