Skip to content

Commit 6280fb0

Browse files
Try to get short sha environment variable
1 parent be3b37c commit 6280fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
}
99

1010
group = "me.eccentric_nz"
11-
val buildNumber = "-b${System.getenv("BUILD_NUMBER") ?: ".local"}"
11+
val buildNumber = "-b${System.getenv("BUILD_NUMBER") ?: (System.getenv("SHORT_SHA") ?: ".local")}"
1212
version = "6.2.3${buildNumber}"
1313

1414
repositories {

0 commit comments

Comments
 (0)