Switch to git-hash snapshots instead of SNAPSHOT snapshots

This commit is contained in:
Havoc Pennington 2014-01-06 12:57:32 -05:00
parent afe042b99b
commit 1bb06fd1c4
2 changed files with 11 additions and 10 deletions

View File

@ -1,15 +1,13 @@
import com.typesafe.sbt.SbtGit
// to release, bump major/minor/micro as appropriate,
// update NEWS, update version in README.md, drop SNAPSHOT,
// tag and publish.
// then add snapshot back so git master is upcoming release
// with -SNAPSHOT.
// when releasing a SNAPSHOT to the repo, bump the micro
// version at least.
// Versions and git tags should follow: http://semver.org/
// except using -SNAPSHOT instead of without hyphen.
// update NEWS, update version in README.md, tag, then
// publishSigned.
// Release tags should follow: http://semver.org/
version in GlobalScope := "1.1.0-SNAPSHOT"
SbtGit.versionWithGit
SbtGit.git.baseVersion in GlobalScope := "1.1.0"
organization in GlobalScope := "com.typesafe"
@ -18,4 +16,3 @@ scalacOptions in GlobalScope in Compile := Seq("-unchecked", "-deprecation", "-f
scalacOptions in GlobalScope in Test := Seq("-unchecked", "-deprecation", "-feature")
scalaVersion in ThisBuild := "2.10.2"

View File

@ -5,3 +5,7 @@ addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.1.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.6.0")
resolvers += "jgit-repo" at "http://download.eclipse.org/jgit/maven"
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.6.2")