Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
rotgruengelb committed Nov 21, 2023
1 parent c61e36a commit 1cddf8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ version = "${project.version}"

def ENV = System.getenv()
def publishType = System.getenv("PUBLISH_TYPE")
def commitId = System.getenv("COMMIT_ID")
def uniqueId = System.getenv("UNIQUE_ID")

if (publishType == "SNAPSHOT") {
version = "${version}-${commitId}-SNAPSHOT"
version = "${version}-${uniqueId}-SNAPSHOT"
}

repositories {
Expand Down Expand Up @@ -106,4 +106,4 @@ javadoc {

test {
useJUnitPlatform()
}
}

0 comments on commit 1cddf8e

Please sign in to comment.