Skip to content

Commit

Permalink
revert changes to build
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Oct 17, 2024
1 parent 80c96d9 commit 2a4d7dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@

allprojects {
group = "co.elastic.clients"
version = (File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
// Release manager provides a $VERSION. If not present, it's a local or CI snapshot build.
version = System.getenv("VERSION") ?:
(File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")

repositories {
maven {
Expand Down

0 comments on commit 2a4d7dd

Please sign in to comment.