Skip to content

Commit 421c8bd

Browse files
committed
Upload changelogs as markdown files
1 parent 3106e92 commit 421c8bd

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
@@ -54,7 +54,7 @@ task publishCurseForge(type: TaskPublishCurseForge) {
5454
apiToken = secrets.curseforgeKey;
5555
def mainFile = upload(project.curseforge_project_id, jar)
5656
mainFile.releaseType = secrets.build_number.equals("RELEASE") ? Constants.RELEASE_TYPE_RELEASE : Constants.RELEASE_TYPE_BETA
57-
mainFile.changelogType = "text"
57+
mainFile.changelogType = "markdown"
5858
mainFile.changelog = secrets.changelog
5959
mainFile.addJavaVersion("Java ${project.java_version}")
6060
mainFile.addGameVersion(project.minecraft_version)

0 commit comments

Comments
 (0)