Skip to content
This repository was archived by the owner on Feb 23, 2018. It is now read-only.

Commit f00db13

Browse files
committed
a better fix to sbt-git
1 parent 338a695 commit f00db13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name := "scala-asm"
44

55
enablePlugins(GitVersioning)
66
git.useGitDescribe := true
7-
version := version.value drop 1 // drop the `v` from the `git describe` string
7+
git.gitDescribedVersion := git.gitDescribedVersion.value.map(_ drop 1) // drop the `v` from the `git describe` string, https://github.com/sbt/sbt-git/issues/67
88

99
// Otherwise the artifact has a dependency on scala-library
1010
autoScalaLibrary := false

0 commit comments

Comments
 (0)