mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Update jreleaser
This commit is contained in:
parent
bca63a8495
commit
531cee5669
2 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'org.jreleaser' version '1.0.0'
|
id 'org.jreleaser' version '1.2.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
if(project == rootProject) {
|
if(project == rootProject) {
|
||||||
|
|
|
@ -26,8 +26,8 @@ jreleaser {
|
||||||
release {
|
release {
|
||||||
github {
|
github {
|
||||||
skipTag = !isFullRelease
|
skipTag = !isFullRelease
|
||||||
owner = 'xpipe-io'
|
repoOwner = 'xpipe-io'
|
||||||
overwrite = false
|
overwrite = true
|
||||||
tagName = '{{projectVersion}}'
|
tagName = '{{projectVersion}}'
|
||||||
releaseName = '{{tagName}}'
|
releaseName = '{{tagName}}'
|
||||||
token = proj.hasProperty("XPIPE_GITHUB_TOKEN") ? proj.property("XPIPE_GITHUB_TOKEN") : System.getenv("XPIPE_GITHUB_TOKEN")
|
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')
|
contentTemplate = isFullRelease ? file('misc/github_full.tpl') : file('misc/github_pre.tpl')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prerelease {
|
||||||
|
enabled = !isFullRelease
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
distributions {
|
distributions {
|
||||||
|
|
Loading…
Reference in a new issue