1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-25 22:53:22 +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
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -509,6 +509,7 @@ commandLine mkCommand('"node_modules/.bin/ts-node" --esm src/web/transform.tsx')
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]