Skip to content

Commit 78738f4

Browse files
committed
Tweaks
Took 47 seconds
1 parent 7461dff commit 78738f4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

build.gradle.kts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,21 @@ tasks {
7373

7474
//The github release.
7575
githubRelease {
76-
token(findProperty("githubToken") as String?) //Set the token.
77-
releaseName = "${project.version}" //Set the release name.
76+
token(findProperty("githubToken") as String?) //The github token.
77+
78+
//The release information.
7879
tagName = "${project.version}" //Set the tag name.
7980
targetCommitish = "master" //Set the target commitish.
81+
releaseName = "${project.version}" //Set the release name.
8082
body = "The release of version ${project.version}." //Set the body.
8183
releaseAssets.setFrom(tasks["withDepends"], tasks["withoutDepends"]) //Set the release assets.
84+
85+
//The release options.
8286
generateReleaseNotes.set(false) //Don't generate release notes.
8387
allowUploadToExisting.set(true) //Allow upload to existing.
84-
dryRun.set(false) //Don't dry run.
85-
overwrite.set(true) //Allow overwrite.
8688
draft.set(false) //Don't make the release a draft.
89+
overwrite.set(true) //Allow overwrite.
90+
dryRun.set(false) //Don't dry run.
8791

8892
}
8993

0 commit comments

Comments
 (0)