Skip to content

Commit 12c6256

Browse files
committed
fix: remove invalid 'enabled: auto' from jreleaser prerelease config
JReleaser 1.19.0 fails with: "Cannot deserialize value of type java.lang.Boolean from String 'auto': only 'true' or 'false' recognized" The prerelease.enabled field expects a boolean value, not 'auto'. Removed the enabled field entirely and kept only the pattern field, which determines if a release is marked as prerelease based on version matching. Updated pattern to match common prerelease patterns: - RC (Release Candidate) - SNAPSHOT - M (Milestone) - alpha - beta This allows JReleaser to automatically determine prerelease status based on the version string pattern matching.
1 parent bb39299 commit 12c6256

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jreleaser.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ release:
2424
overwrite: true
2525
sign: true
2626
prerelease:
27-
enabled: auto
28-
pattern: .*-SNAPSHOT.*
27+
pattern: .*-(RC|SNAPSHOT|M|alpha|beta).*
2928
draft: false
3029
changelog:
3130
formatted: ALWAYS

0 commit comments

Comments
 (0)