Make sure the jar is published to modrinth on release

This commit is contained in:
Sollace 2022-01-13 11:34:15 +02:00
parent 5d314b6cce
commit 793c882449

View file

@ -116,7 +116,7 @@ import com.modrinth.minotaur.TaskModrinthUpload
task publishModrinth (type: TaskModrinthUpload){ task publishModrinth (type: TaskModrinthUpload){
onlyIf { onlyIf {
def stage = version.version.stage.value def stage = version.version.stage.value
stage != null && stage.name != 'beta' stage == null || stage.name != 'beta'
} }
token = System.env.MODRINTH_KEY token = System.env.MODRINTH_KEY