mirror of
https://codeberg.org/moonleay/Gimbal.git
synced 2025-04-04 11:44:13 +02:00
ci: updated modrinth publishing
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
a6c6bed5be
commit
13a3394a8c
1 changed files with 2 additions and 1 deletions
|
@ -213,7 +213,8 @@ publishing {
|
|||
modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN")) // Remember to have the MODRINTH_TOKEN environment variable set or else this will fail - just make sure it stays private!
|
||||
projectId.set(modId) // This can be the project ID or the slug. Either will work!
|
||||
versionNumber.set("$modName ${System.getenv(mavenVersion)} for $minecraftVersion") // You don't need to set this manually. Will fail if Modrinth has this version already
|
||||
versionNumber.set(mavenVersion) // You don't need to set this manually. Will fail if Modrinth has this version already
|
||||
versionName.set("$modName $mavenVersion for $minecraftVersion")
|
||||
versionType.set("alpha") // This is the default -- can also be `beta` or `alpha`
|
||||
uploadFile.set(tasks.remapJar) // With Loom, this MUST be set to `remapJar` instead of `jar`!
|
||||
gameVersions.addAll(listOf(project.ext["minecraft.version"] as String)) // Must be an array, even with only one version
|
||||
|
|
Loading…
Add table
Reference in a new issue