Skip to content

Commit c148512

Browse files
committed
Debugging release script
1 parent e593871 commit c148512

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ artifacts {
7676
jar.archiveBaseName = 'openfeature'
7777

7878
def repo_url = System.getenv("REPOSITORY_URL")
79+
def is_release = Boolean.valueOf(System.getenv("release"))
80+
System.out.println("Value of thing was >" + System.getenv("release") + "< so the result is: " + is_release)
7981

8082
group = 'dev.openfeature'
81-
version = '0.0.1' + (Boolean.valueOf(System.getenv("release")) ? "" : "-SNAPSHOT")
83+
version = '0.0.1' + (is_release ? "" : "-SNAPSHOT")
8284

8385
publishing {
8486
publications {

0 commit comments

Comments
 (0)