diff --git a/src/main/kotlin/gay/pizza/foundation/concrete/ConcreteBasePlugin.kt b/src/main/kotlin/gay/pizza/foundation/concrete/ConcreteBasePlugin.kt index bfeaa6e..5fa0446 100644 --- a/src/main/kotlin/gay/pizza/foundation/concrete/ConcreteBasePlugin.kt +++ b/src/main/kotlin/gay/pizza/foundation/concrete/ConcreteBasePlugin.kt @@ -12,6 +12,8 @@ open class ConcreteBasePlugin : Plugin { override fun apply(project: Project) { val versionWithBuild = if (System.getenv("CI_PIPELINE_IID") != null) { project.rootProject.version.toString() + ".${System.getenv("CI_PIPELINE_IID")}" + } else if (System.getenv("CONCRETE_BUILD_NUMBER") != null) { + project.rootProject.version.toString() + ".${System.getenv("CONCRETE_BUILD_NUMBER")}" } else { "DEV" }