Skip to content

Commit 3ad9880

Browse files
author
JeanMarc van Leerdam
committed
Set deployment name
1 parent 5d7b510 commit 3ad9880

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.sbt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ lazy val plugin = project.in(file("plugin"))
6464
.settings(
6565
name := "sbt-azure-functions",
6666
commonSettings,
67+
sonaDeploymentName := {
68+
val o = organization.value
69+
val n = name.value
70+
val v = version.value
71+
val time = java.time.LocalTime.now.format(java.time.format.DateTimeFormatter.ofPattern("HHmmss"))
72+
s"$o:$n:$v:$time"
73+
},
74+
6775
scalaVersion := "2.12.18",
6876
pluginCrossBuild / sbtVersion := {
6977
scalaBinaryVersion.value match {

0 commit comments

Comments
 (0)