File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ buildscript {
17
17
plugins {
18
18
id ' base'
19
19
id ' maven-publish'
20
- id ' co.riiid.gradle ' version ' 0 .4.2 '
20
+ id " com.github.breadmoirai.github-release " version " 2 .4.1 "
21
21
}
22
22
23
23
ext. dependencyRepositories = [
@@ -382,21 +382,18 @@ Includes dependencies:
382
382
${ depsList}
383
383
"""
384
384
385
- github {
385
+ githubRelease {
386
386
owner = ' IETS3'
387
387
repo = ' iets3.opensource'
388
388
token = rootProject. findProperty(' github.token' ) ?: ' empty'
389
389
tagName = ' nightly-' + version
390
390
targetCommitish = GitBasedVersioning . getGitCommitHash()
391
- name = ' Nighly Build ' + version
391
+ body = releaseNotes
392
392
prerelease = true
393
- assets = packageDistroWithDependencies. outputs. files. collect {it. path}
394
- }
395
- githubRelease. doFirst {
396
- // do late body init to avoid executing listMergedPRs during config phase
397
- github {
398
- body = releaseNotes
399
- }
393
+ releaseAssets = packageDistroWithDependencies. outputs. files. collect {it. path}
394
+ dryRun = false
400
395
}
401
396
402
- githubRelease. dependsOn packageDistroWithDependencies
397
+ tasks. named(' githubRelease' ). configure {
398
+ dependsOn packageDistroWithDependencies
399
+ }
You can’t perform that action at this time.
0 commit comments