Skip to content

Commit

Permalink
Check for GITHUB_ACTIONS environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKodeToad committed Feb 29, 2024
1 parent b01612a commit 4eec3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4eec3c9

Please sign in to comment.