Skip to content

Commit

Permalink
Merge pull request #34 from cquiroz/versionfix
Browse files Browse the repository at this point in the history
Match the version for source maps with git tags
  • Loading branch information
cquiroz committed Mar 9, 2017
2 parents b9d5859 + 5fa57f1 commit 82fd367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ lazy val scalajavatime = crossProject.crossType(CrossType.Full).in(file("."))
scalacOptions ++= {
val tagOrHash =
if(isSnapshot.value) sys.process.Process("git rev-parse HEAD").lines_!.head
else version.value
else s"v${version.value}"
(sourceDirectories in Compile).value.map { f =>
val a = f.toURI.toString
val g = "https://raw.githubusercontent.com/cquiroz/scala-java-time/" + tagOrHash + "/shared/src/main/scala/"
Expand Down

0 comments on commit 82fd367

Please sign in to comment.