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 abfbcdb commit c757d18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +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 {
name = "Elastic-Snapshots"
Expand Down

0 comments on commit c757d18

Please sign in to comment.