Fucking orion
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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}")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user