mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-08 08:20:29 +00:00
Couple of gradle fixes
This commit is contained in:
parent
1650b72edb
commit
95b0d950aa
@ -472,7 +472,7 @@ tasks.register('publishModrinth', TaskModrinthUpload.class).configure {
|
|||||||
project.hasProperty('modrinthApiKey')
|
project.hasProperty('modrinthApiKey')
|
||||||
}
|
}
|
||||||
|
|
||||||
token = project.hasProperty('curseForgeApiKey')
|
token = project.getProperty('modrinthApiKey')
|
||||||
projectId = 'gu7yAYhd'
|
projectId = 'gu7yAYhd'
|
||||||
versionNumber = project.mod_version
|
versionNumber = project.mod_version
|
||||||
uploadFile = jar
|
uploadFile = jar
|
||||||
@ -546,7 +546,7 @@ githubRelease {
|
|||||||
tagName "v${mc_version}-${mod_version}"
|
tagName "v${mc_version}-${mod_version}"
|
||||||
releaseName "[${mc_version}] ${mod_version}"
|
releaseName "[${mc_version}] ${mod_version}"
|
||||||
body.set(project.provider({
|
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()
|
.readLines()
|
||||||
.takeWhile { it != 'Type "help changelog" to see the full version history.' }
|
.takeWhile { it != 'Type "help changelog" to see the full version history.' }
|
||||||
.join("\n").trim()
|
.join("\n").trim()
|
||||||
|
Loading…
Reference in New Issue
Block a user