summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2024-02-29 12:17:23 +0000
committerTheKodeToad <TheKodeToad@proton.me>2024-02-29 12:17:23 +0000
commit4eec3c90f41c74384957b7d3131f80065e6863ce (patch)
tree6f7197664552c709f5a741d1ec2cd0d17db3afcd
parentb01612aae17d8c54f3438d78d19868213e77f366 (diff)
downloadProject-Tick-4eec3c90f41c74384957b7d3131f80065e6863ce.tar.gz
Project-Tick-4eec3c90f41c74384957b7d3131f80065e6863ce.zip
Check for GITHUB_ACTIONS environment variable
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 9312fcd269..9c3464b364 100644
--- a/build.gradle
+++ b/build.gradle
@@ -92,7 +92,7 @@ publishing {
tasks.publish.dependsOn build
static String getVersionSuffix() {
- if (System.getenv("IS_PUBLICATION") != null)
+ if (System.getenv("IS_PUBLICATION") != null || System.getenv("GITHUB_ACTIONS") == "true")
return new SimpleDateFormat("-yyyy-MM-dd").format(new Date())
return "-LOCAL"