diff options
author | Jakob Odersky <jakob@driver.xyz> | 2018-05-03 16:21:39 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@driver.xyz> | 2018-05-03 16:21:39 -0700 |
commit | d7fd38798b24638b095357d4a96a7d3158fa4174 (patch) | |
tree | e9482c63aebc31b537dbfb2a0ca6a6a7edd668e8 /publish.sbt | |
parent | 095431f7e014cda1c7522236531c67258b4bc58d (diff) | |
download | sbt-settings-d7fd38798b24638b095357d4a96a7d3158fa4174.tar.gz sbt-settings-d7fd38798b24638b095357d4a96a7d3158fa4174.tar.bz2 sbt-settings-d7fd38798b24638b095357d4a96a7d3158fa4174.zip |
Set up continuous deploymentv1.0.10
Diffstat (limited to 'publish.sbt')
-rw-r--r-- | publish.sbt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/publish.sbt b/publish.sbt new file mode 100644 index 0000000..645dea3 --- /dev/null +++ b/publish.sbt @@ -0,0 +1,32 @@ +version in ThisBuild := { + import sys.process._ + ("git describe --always --dirty=-SNAPSHOT --match v[0-9].*" !!).tail.trim +} +organization in ThisBuild := "xyz.driver" +licenses in ThisBuild := Seq( + ("Apache 2.0", url("https://www.apache.org/licenses/LICENSE-2.0"))) +homepage in ThisBuild := Some( + url("https://github.com/drivergroup/sbt-settings")) +publishMavenStyle in ThisBuild := true +publishTo in ThisBuild := Some( + if (isSnapshot.value) + Opts.resolver.sonatypeSnapshots + else + Opts.resolver.sonatypeStaging +) + +scmInfo in ThisBuild := Some( + ScmInfo( + url("https://github.com/drivergroup/sbt-settings"), + "scm:git@github.com:drivergroup/sbt-settings.git" + ) +) + +developers in ThisBuild := List( + Developer( + id = "jodersky", + name = "Jakob Odersky", + email = "jakob@driver.xyz", + url = url("https://driver.xyz") + ) +) |