mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-13 03:30:29 +00:00
Fix a couple of problems in the release buildscript
Otherwise that went pretty smoothly!
This commit is contained in:
parent
43050426de
commit
ce1f14a010
@ -336,12 +336,12 @@ githubRelease {
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user