Skip to content

Commit 7dec032

Browse files
committed
add gitCommitString back in - no idea what it's used for though
1 parent 10c3490 commit 7dec032

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ lazy val js2cpg = (project in file(".")).settings(
5959
Developer("max-leuthaeuser", "Max Leuthäuser", "[email protected]", url("https://github.com/max-leuthaeuser"))
6060
),
6161
publishMavenStyle := true,
62+
gitCommitString := git.gitHeadCommit.value.getOrElse("n/a"),
6263
buildInfoKeys := Seq[BuildInfoKey](version, gitCommitString),
6364
buildInfoPackage := "io.shiftleft.js2cpg.core"
6465
)

project/plugins.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")
33
addSbtPlugin("io.shiftleft" % "sbt-ci-release-early" % "2.1.7")
44
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0")
55
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0")
6+
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.1.0")

0 commit comments

Comments
 (0)