Skip to content

Commit

Permalink
Add publishing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
catap committed Jul 11, 2021
1 parent 1130c3b commit 97202d4
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
5 changes: 5 additions & 0 deletions local.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh -e

sbt +clean \
+test \
+publishLocal
5 changes: 5 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh -e

sbt +clean +test \
+publishSigned \
sonatypeBundleRelease
24 changes: 24 additions & 0 deletions sonatype.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import sbt.url
import xerial.sbt.Sonatype.GitHubHosting

sonatypeProfileName in ThisBuild := "ky.korins"
publishMavenStyle in ThisBuild := true
sonatypeProjectHosting in ThisBuild := Some(
GitHubHosting("catap", "scala-sha", "[email protected]")
)
licenses in ThisBuild := LicenseDefinition.licenses
homepage in ThisBuild := Some(url("https://github.com/catap/scala-sha"))
scmInfo in ThisBuild := Some(
ScmInfo(
url("https://github.com/catap/scala-sha"),
"scm:[email protected]:catap/scala-sha.git"
)
)
developers in ThisBuild := List(
Developer(
id = "catap",
name = "Kirill A. Korinsky",
email = "[email protected]",
url = url("https://github.com/catap")
)
)

0 comments on commit 97202d4

Please sign in to comment.