chore(ci): Fix forgotten sha in build gradle

This commit is contained in:
Sekwah 2021-06-27 19:11:16 +01:00
parent 17a81dede7
commit d2e69771c5

View File

@ -266,7 +266,7 @@ task curseforge {
Metadata uploadMetadata = new Metadata(); Metadata uploadMetadata = new Metadata();
uploadMetadata.changelog = "${project.github}/blob/${sha}/docs/CHANGELOG.md" uploadMetadata.changelog = "${project.github}/blob/${branch}/CHANGELOG.md"
uploadMetadata.changelogType = "markdown" uploadMetadata.changelogType = "markdown"
uploadMetadata.releaseType = isDevBranch ? "beta" : "release" uploadMetadata.releaseType = isDevBranch ? "beta" : "release"
uploadMetadata.gameVersions = supportedGameVersionIds uploadMetadata.gameVersions = supportedGameVersionIds
@ -283,7 +283,6 @@ task curseforge {
} }
// id = project.curse_project_id // id = project.curse_project_id
// // TODO add code to reference this but also cut the latest change logs in for the files // // TODO add code to reference this but also cut the latest change logs in for the files
// changelog = "${project.github}/blob/${sha}/CHANGELOG.md"
// changelogType = 'markdown' // changelogType = 'markdown'
// releaseType = 'release' // releaseType = 'release'
} }