Skip to content

Commit 42030aa

Browse files
committed
Change versioning to a sonatype approved scheme
1 parent 9b15ac1 commit 42030aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project/Build.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ object DottyBuild extends Build {
2626
super.settings ++ Seq(
2727
scalaVersion in Global := "2.11.5",
2828
version in Global :=
29-
"0.1-SNAPSHOT-" + VersionUtil.commitDate + "-" + VersionUtil.gitHash,
29+
"0.1-" + VersionUtil.commitDate + "-" + VersionUtil.gitHash + "-SNAPSHOT",
3030
organization in Global := "ch.epfl.lamp",
3131
organizationName in Global := "LAMP/EPFL",
3232
organizationHomepage in Global := Some(url("http://lamp.epfl.ch")),
@@ -210,7 +210,7 @@ object DottyBuild extends Build {
210210
"org.specs2" %% "specs2" % "2.3.11" % "test"
211211
),
212212
version :=
213-
"0.1.1-SNAPSHOT-" + VersionUtil.commitDate + "-" + VersionUtil.gitHash,
213+
"0.1.1-" + VersionUtil.commitDate + "-" + VersionUtil.gitHash + "-SNAPSHOT",
214214
// The sources should be published with crossPaths := false since they
215215
// need to be compiled by the project using the bridge.
216216
crossPaths := false,

0 commit comments

Comments
 (0)