Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit ada534e

Browse files
authored
Merge pull request #117 from bzz/version-from-tag
build: enable sbt-git plugin
2 parents b7a9ef7 + 8168c61 commit ada534e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
name := "bblfsh-client"
44
organization := "org.bblfsh"
5-
version := "2.0.0-SNAPSHOT"
5+
6+
git.useGitDescribe := true
7+
enablePlugins(GitVersioning)
68

79
scalaVersion := "2.11.11"
810
val libuastVersion = "3.3.1"

project/plugins.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.8.2")
33
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
44
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1")
55
addSbtPlugin("com.thesamet" % "sbt-protoc" % "0.99.16")
6+
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.9.3")
67
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.8.3"

0 commit comments

Comments
 (0)