Fix a couple of problems in the release buildscript

Otherwise that went pretty smoothly!
This commit is contained in:
SquidDev 2019-05-31 13:56:48 +01:00
parent 43050426de
commit ce1f14a010
1 changed files with 2 additions and 2 deletions

View File

@ -336,12 +336,12 @@ task checkRelease(dependsOn: extractAnnotationsJar) {
token project.hasProperty('githubApiKey') ? project.githubApiKey : ''
owner 'SquidDev-CC'
repo 'CC-Tweaked'
targetCommitish { Grgit.open(dir: '.').branch.current() }
targetCommitish { Grgit.open(dir: '.').branch.current().fullName }
tagName "v${mc_version}-${mod_version}"
releaseName "[${mc_version}] ${mod_version}"
body {
"##" + new File("src/main/resources/assets/computercraft/lua/rom/help/whatsnew.txt")
"## " + new File("src/main/resources/assets/computercraft/lua/rom/help/whatsnew.txt")
.readLines()
.takeWhile { it != 'Type "help changelog" to see the full version history.' }
.join("\n").trim()