We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5261e85 commit 2a37097Copy full SHA for 2a37097
build.sbt
@@ -77,6 +77,14 @@ def crossSetting[A](
77
78
inThisBuild(
79
List(
80
+ version ~= { dynVer =>
81
+ if (System.getenv("CI") != null) dynVer
82
+ else {
83
+ import scala.sys.process._
84
+ // drop `v` prefix
85
+ "git describe --abbrev=0 --tags".!!.drop(1).trim + "-SNAPSHOT"
86
+ }
87
+ },
88
scalaVersion := scala213,
89
crossScalaVersions := allScalaVersions,
90
organization := "org.scalameta",
0 commit comments