diff options
author | David Strawn | 2019-04-13 10:55:34 -0600 |
---|---|---|
committer | David Strawn | 2019-04-13 10:55:34 -0600 |
commit | 7ef31f32aa179d3e8ab37fa47786ba1308d7b6c4 (patch) | |
tree | 69bca02dcf632057a733dfb7ae90ad7ec8a3c4de /version-fix.patch | |
parent | 33f9ac416eb6769a84cd0462b4473a93ac901aa9 (diff) | |
download | aur-7ef31f32aa179d3e8ab37fa47786ba1308d7b6c4.tar.gz |
Add Patch To Fix SBT Version Error
See: https://github.com/scalameta/metals/issues/662
Diffstat (limited to 'version-fix.patch')
-rw-r--r-- | version-fix.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/version-fix.patch b/version-fix.patch new file mode 100644 index 000000000000..1652cad06458 --- /dev/null +++ b/version-fix.patch @@ -0,0 +1,16 @@ +diff --git a/build.sbt b/build.sbt +index e73ff967..d3e13746 100644 +--- a/build.sbt ++++ b/build.sbt +@@ -2,10 +2,7 @@ def localSnapshotVersion = "0.5.1-SNAPSHOT" + def isCI = System.getenv("CI") != null + inThisBuild( + List( +- version ~= { dynVer => +- if (isCI) dynVer +- else localSnapshotVersion // only for local publishng +- }, ++ version := "0.5.0", + scalaVersion := V.scala212, + crossScalaVersions := List(V.scala212), + scalacOptions ++= List( |