3 Commits

Author SHA1 Message Date
a06687507c v0.8.0 2023-02-03 13:07:49 -08:00
5d4152d6df Support CONCRETE_BUILD_NUMBER for build number in version. 2023-02-02 20:33:32 -08:00
4c7dea2296 Start on v0.8.0-SNAPSHOT 2023-01-27 22:43:23 -08:00
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ plugins {
}
group = "gay.pizza.foundation"
version = "0.7.0"
version = "0.8.0"
repositories {
mavenCentral()

View File

@ -12,6 +12,8 @@ open class ConcreteBasePlugin : Plugin<Project> {
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"
}