Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 100f7f7

Browse files
committed
fixed version when publishing from a workflow
1 parent b00ee5f commit 100f7f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ subprojects {
4747
}
4848

4949
if (isCI) {
50-
version = version + "-" + gitHash()
50+
def isRELEASE = System.getenv("GITHUB_RELEASE")
51+
if (!isRELEASE){
52+
version = version + "-" + gitHash()
53+
}
5154
println("In CI mode")
5255
}
5356
}

0 commit comments

Comments
 (0)