We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc98b42 commit d1cabfeCopy full SHA for d1cabfe
.github/workflows/gradle.yml
@@ -43,3 +43,4 @@ jobs:
43
env:
44
USERNAME: ${{ github.actor }}
45
TOKEN: ${{ secrets.GITHUB_TOKEN }}
46
+ VERSION: ${{ github.event.release.tag_name }}
build.gradle
@@ -11,7 +11,7 @@ repositories {
11
}
12
13
// run gradle with "-Dsnapshot=true" to automatically append "-SNAPSHOT" to the version
14
-version = '1.5.0' + (Boolean.valueOf(System.getProperty("snapshot")) ? "-SNAPSHOT" : "")
+version = System.getenv("VERSION") ?: "dev-SNAPSHOT"
15
sourceCompatibility = 11
16
17
ext {
0 commit comments