mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-02 13:10:55 +00:00
Try a build version-based version scheme.
This commit is contained in:
parent
728904fa23
commit
b410fdf9e0
@ -29,8 +29,16 @@ subprojects {
|
||||
plugins.apply("org.jetbrains.kotlin.plugin.serialization")
|
||||
plugins.apply("com.github.johnrengelman.shadow")
|
||||
|
||||
version = "0.1"
|
||||
group = "io.gorence"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
// Add build number if running under CI.
|
||||
val versionWithBuild = if (System.getenv("CI_PIPELINE_IID") != null) {
|
||||
version as String + ".${System.getenv("CI_PIPELINE_IID")}"
|
||||
} else {
|
||||
"DEV"
|
||||
}
|
||||
version = versionWithBuild
|
||||
|
||||
dependencies {
|
||||
// Kotlin dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user