mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
print log on build for release debug
This commit is contained in:
parent
69f0e2936e
commit
e1c794403c
1 changed files with 7 additions and 1 deletions
|
|
@ -25,7 +25,13 @@ group = "xyz.alexcrea"
|
||||||
version = "1.15.9"
|
version = "1.15.9"
|
||||||
|
|
||||||
val isDevBuild = System.getenv("SMALL_COMMIT_HASH") != null
|
val isDevBuild = System.getenv("SMALL_COMMIT_HASH") != null
|
||||||
val isPreRelease = System.getenv("IS_PRERELEASE") == "true"
|
val isPreRelease = System.getenv("IS_GITHUB_PRERELEASE") == "true"
|
||||||
|
|
||||||
|
println("testing env variable")
|
||||||
|
println(System.getenv("IS_GITHUB_PRERELEASE"))
|
||||||
|
println(System.getenv("IS_GITHUB_PRERELEASE") == "true")
|
||||||
|
println(System.getenv("RELEASE_CHANGELOG"))
|
||||||
|
|
||||||
val effectiveVersion = "$version" +
|
val effectiveVersion = "$version" +
|
||||||
(if (isDevBuild) "-dev-${System.getenv("SMALL_COMMIT_HASH")!!}" else "")
|
(if (isDevBuild) "-dev-${System.getenv("SMALL_COMMIT_HASH")!!}" else "")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue