File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -73,17 +73,21 @@ tasks {
7373
7474// The github release.
7575githubRelease {
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
You can’t perform that action at this time.
0 commit comments