Skip to content

Commit

Permalink
Fix missing changelog during CF publication
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Jun 22, 2024
1 parent 65a3db8 commit 1eaddc7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,7 @@ task publishCurseForge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge)

def mainFile = upload(projectId, jar)
mainFile.changelogType = "text"
if (new File("resources/changelog/${project.version}.txt").exists()) {
mainFile.changelog = file("resources/changelog/${project.version}.txt")
}
mainFile.changelog = file("resources/changelog/${project.minecraft_version}-${project.version}.txt")
mainFile.addGameVersion(project.minecraft_version)
mainFile.addModLoader("NeoForge")
}
Expand Down

0 comments on commit 1eaddc7

Please sign in to comment.