Skip to content

Commit 97202d4

Browse files
committed
Add publishing scripts
1 parent 1130c3b commit 97202d4

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

local.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh -e
2+
3+
sbt +clean \
4+
+test \
5+
+publishLocal

publish.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh -e
2+
3+
sbt +clean +test \
4+
+publishSigned \
5+
sonatypeBundleRelease

sonatype.sbt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import sbt.url
2+
import xerial.sbt.Sonatype.GitHubHosting
3+
4+
sonatypeProfileName in ThisBuild := "ky.korins"
5+
publishMavenStyle in ThisBuild := true
6+
sonatypeProjectHosting in ThisBuild := Some(
7+
GitHubHosting("catap", "scala-sha", "[email protected]")
8+
)
9+
licenses in ThisBuild := LicenseDefinition.licenses
10+
homepage in ThisBuild := Some(url("https://github.com/catap/scala-sha"))
11+
scmInfo in ThisBuild := Some(
12+
ScmInfo(
13+
url("https://github.com/catap/scala-sha"),
14+
"scm:[email protected]:catap/scala-sha.git"
15+
)
16+
)
17+
developers in ThisBuild := List(
18+
Developer(
19+
id = "catap",
20+
name = "Kirill A. Korinsky",
21+
email = "[email protected]",
22+
url = url("https://github.com/catap")
23+
)
24+
)

0 commit comments

Comments
 (0)