mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +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 {
|
||||
id 'org.jreleaser' version '1.0.0'
|
||||
id 'org.jreleaser' version '1.2.0'
|
||||
}
|
||||
|
||||
if(project == rootProject) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue