Update jreleaser

This commit is contained in:
Christopher Schnick 2022-10-11 19:07:28 +02:00
parent bca63a8495
commit 531cee5669
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,5 @@
plugins {
id 'org.jreleaser' version '1.0.0'
id 'org.jreleaser' version '1.2.0'
}
if(project == rootProject) {

View file

@ -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 {