Fucking orion

This commit is contained in:
2024-05-09 19:41:18 +02:00
parent 261ea4c3f8
commit f712036d2e
2 changed files with 5 additions and 4 deletions

View File

@@ -29,14 +29,14 @@ pipeline {
stage("Build") {
steps {
sh "./gradlew build"
sh "./gradlew build -PreleaseType=port"
}
}
stage("Publish to Maven") {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "./gradlew publish"
sh "./gradlew publish -PreleaseType=port"
}
}
}

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
id "xyz.wagyourtail.unimined" version "1.2.4" apply false
id "com.hypherionmc.modutils.modpublisher" version "2.1.+"
id "com.hypherionmc.modutils.orion" version "1.0.13"
id "com.hypherionmc.modutils.orion" version "1.0.14"
id 'maven-publish'
}
@@ -15,7 +15,8 @@ orion.setup {
dopplerToken = System.getenv("DOPPLER_KEY")
versioning {
identifier("${release_type}")
var relType = project.properties["releaseType"] ?: "${release_type}"
identifier("${relType}")
}
}