Skip to content

Commit

Permalink
Use time-based versioning for now
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKodeToad committed Feb 29, 2024
1 parent c2a65dd commit b01612a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import java.text.SimpleDateFormat

plugins {
id "java"
Expand Down Expand Up @@ -91,5 +92,8 @@ publishing {
tasks.publish.dependsOn build

static String getVersionSuffix() {
return ""
if (System.getenv("IS_PUBLICATION") != null)
return new SimpleDateFormat("-yyyy-MM-dd").format(new Date())

return "-LOCAL"
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

org.gradle.daemon = false

fw_version = 1.5.8-prism
fw_version = prism

0 comments on commit b01612a

Please sign in to comment.