Skip to content

Commit 2212335

Browse files
author
JeanMarc van Leerdam
committed
use a timestamp instead of a random uid in the deployment name
1 parent 3ad9880 commit 2212335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ lazy val plugin = project.in(file("plugin"))
6868
val o = organization.value
6969
val n = name.value
7070
val v = version.value
71-
val time = java.time.LocalTime.now.format(java.time.format.DateTimeFormatter.ofPattern("HHmmss"))
72-
s"$o:$n:$v:$time"
71+
val dt = java.time.LocalDateTime.now.format(java.time.format.DateTimeFormatter.ofPattern("yyyyMMdd_HHmmss"))
72+
s"$o:$n:$v:$dt"
7373
},
7474

7575
scalaVersion := "2.12.18",

0 commit comments

Comments
 (0)