mirror of
https://github.com/lightbend/config.git
synced 2025-01-28 21:20:07 +08:00
Switch to git-hash snapshots instead of SNAPSHOT snapshots
This commit is contained in:
parent
afe042b99b
commit
1bb06fd1c4
17
build.sbt
17
build.sbt
@ -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"
|
||||
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user