Skip to content

Commit b2c1fd2

Browse files
committed
Upload changelogs as markdown files
1 parent 5711384 commit b2c1fd2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

buildSrc/src/main/groovy/multiloader-common.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def getModrinthKey() {
4545
}
4646
def getChangelog() {
4747
if (System.getenv().RELEASE) {
48-
return file("../resources/changelog/${project.minecraft_version}-${project.mod_version}.txt").getText();
48+
return file("../CHANGELOG-${project.minecraft_version}.md").getText();
4949
} else {
5050
return "Changes since last release: ${project.github_url}/compare/${project.minecraft_version}-${project.mod_version}...${System.getenv().GITHUB_SHA}"
5151
}

loader-neoforge/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ task publishCurseForge(type: TaskPublishCurseForge) {
6767
apiToken = secrets.curseforgeKey;
6868
def mainFile = upload(project.curseforge_project_id, jar)
6969
mainFile.releaseType = secrets.build_number.equals("RELEASE") ? CFG_Constants.RELEASE_TYPE_RELEASE : CFG_Constants.RELEASE_TYPE_BETA
70-
mainFile.changelogType = "text"
70+
mainFile.changelogType = "markdown"
7171
mainFile.changelog = secrets.changelog
7272
mainFile.addJavaVersion("Java ${project.java_version}")
7373
mainFile.addGameVersion(project.minecraft_version)

0 commit comments

Comments
 (0)