1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-05 15:00:29 +00:00

Couple of gradle fixes

This commit is contained in:
Jonathan Coates 2021-06-28 23:07:36 +01:00
parent 1650b72edb
commit 95b0d950aa
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -472,7 +472,7 @@ tasks.register('publishModrinth', TaskModrinthUpload.class).configure {
project.hasProperty('modrinthApiKey')
}
token = project.hasProperty('curseForgeApiKey')
token = project.getProperty('modrinthApiKey')
projectId = 'gu7yAYhd'
versionNumber = project.mod_version
uploadFile = jar
@ -546,7 +546,7 @@ githubRelease {
tagName "v${mc_version}-${mod_version}"
releaseName "[${mc_version}] ${mod_version}"
body.set(project.provider({
"## " + new File(projectDir, "src/main/resources/data/computercraft/lua/rom/help/whatsnew.txt")
"## " + new File(projectDir, "src/main/resources/data/computercraft/lua/rom/help/whatsnew.md")
.readLines()
.takeWhile { it != 'Type "help changelog" to see the full version history.' }
.join("\n").trim()