diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e87844..55fa346 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -81,7 +81,7 @@ test: dotenv: generate_executables.env expire_in: 6 months -uberjarjar: +uberjar: stage: package rules: - if: $CI_PIPELINE_SOURCE != "push" @@ -106,7 +106,7 @@ publish-snapshot-lib: rules: - if: $CI_PIPELINE_SOURCE != "push" when: never - - if: $CI_COMMIT_TAG !~ /^release-[0-9]+[.][0-9]+([.][0-9]+)?$/ + - if: $CI_COMMIT_TAG !~ /^[0-9]+[.][0-9]+([.][0-9]+-SNAPSHOT)?$/ script: - ./gradlew -x assemble -x test jar - ./gradlew -x assemble -x test publish diff --git a/build.gradle b/build.gradle index e420081..b1f2f80 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ apply plugin: "kotlinx-serialization" group = "org.domaindrivenarchitecture.provs" -version = "0.9.16-SNAPSHOT" +version = "release-0.9.16" repositories { mavenCentral()