1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-09-03 19:07:56 +00:00

Use shorter mod version when publishing to Modrinth

i.e. 1.100.8 rather than 1.19-1.100.8.
This commit is contained in:
Jonathan Coates
2022-07-02 09:10:28 +01:00
parent b8d7695392
commit 41bddcab9f

View File

@@ -509,6 +509,7 @@ modrinth {
token = project.hasProperty('modrinthApiKey') ? project.getProperty('modrinthApiKey') : ''
projectId = 'gu7yAYhd'
versionNumber = "${project.mc_version}-${project.mod_version}"
versionName = "${project.mod_version}"
versionType = isStable ? 'release' : 'alpha'
uploadFile = shadowJar
gameVersions = [project.mc_version]