From 531cee5669f4dd5affcd6cdcddcf5ea2f165059e Mon Sep 17 00:00:00 2001 From: Christopher Schnick Date: Tue, 11 Oct 2022 19:07:28 +0200 Subject: [PATCH] Update jreleaser --- build.gradle | 2 +- jreleaser.gradle | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 83a130644..19f902b4d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'org.jreleaser' version '1.0.0' + id 'org.jreleaser' version '1.2.0' } if(project == rootProject) { diff --git a/jreleaser.gradle b/jreleaser.gradle index 49b669e95..05e543c24 100644 --- a/jreleaser.gradle +++ b/jreleaser.gradle @@ -26,8 +26,8 @@ jreleaser { release { github { skipTag = !isFullRelease - owner = 'xpipe-io' - overwrite = false + repoOwner = 'xpipe-io' + overwrite = true tagName = '{{projectVersion}}' releaseName = '{{tagName}}' token = proj.hasProperty("XPIPE_GITHUB_TOKEN") ? proj.property("XPIPE_GITHUB_TOKEN") : System.getenv("XPIPE_GITHUB_TOKEN") @@ -44,6 +44,10 @@ jreleaser { contentTemplate = isFullRelease ? file('misc/github_full.tpl') : file('misc/github_pre.tpl') } } + + prerelease { + enabled = !isFullRelease + } } } distributions {