Skip to content

Commit a1d59dc

Browse files
committed
Switch to sbt-ci-release
1 parent e18fd5c commit a1d59dc

File tree

2 files changed

+9
-32
lines changed

2 files changed

+9
-32
lines changed

build.sbt

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ name := "udash"
99
Global / excludeLintKeys ++= Set(ideOutputDirectory, ideSkipProject)
1010

1111
inThisBuild(Seq(
12-
version := "0.9.0-SNAPSHOT",
1312
organization := "io.udash",
1413
resolvers += Resolver.defaultLocal,
1514
))
@@ -25,36 +24,17 @@ val browserCapabilities: Capabilities = {
2524

2625
// Deployment configuration
2726
val deploymentConfiguration = Seq(
28-
publishMavenStyle := true,
29-
Test / publishArtifact := false,
3027
pomIncludeRepository := { _ => false },
31-
32-
publishTo := sonatypePublishToBundle.value,
3328
sonatypeCredentialHost := Sonatype.sonatypeCentralHost,
34-
35-
credentials in Global += Credentials(
36-
"Sonatype Nexus Repository Manager",
37-
"oss.sonatype.org",
38-
sys.env.getOrElse("SONATYPE_USERNAME", ""),
39-
sys.env.getOrElse("SONATYPE_PASSWORD", "")
40-
),
41-
4229
licenses := Seq(License.Apache2),
43-
44-
pomExtra := {
45-
<url>https://github.com/UdashFramework/udash-core</url>
46-
<scm>
47-
<url>git@github.com:UdashFramework/udash-core.git</url>
48-
<connection>scm:git@github.com:UdashFramework/udash-core.git</connection>
49-
</scm>
50-
<developers>
51-
<developer>
52-
<id>avsystem</id>
53-
<name>AVSystem</name>
54-
<url>http://www.avsystem.com/</url>
55-
</developer>
56-
</developers>
57-
}
30+
scmInfo := Some(ScmInfo(
31+
browseUrl = url("https://github.com/UdashFramework/udash-core"),
32+
connection = "scm:git:git@github.com:UdashFramework/udash-core.git",
33+
devConnection = Some("scm:git:git@github.com:UdashFramework/udash-core.git"),
34+
)),
35+
developers := List(
36+
Developer("ddworak", "Dawid Dworak", "d.dworak@avsystem.com", url("https://github.com/ddworak")),
37+
),
5838
)
5939

6040
val commonSettings = Seq(

project/plugins.sbt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,4 @@ addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")
99
addSbtPlugin("org.jetbrains.scala" % "sbt-ide-settings" % "1.1.2")
1010
addSbtPlugin("com.github.sbt" % "sbt-less" % "2.0.1")
1111
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.11.1")
12-
13-
// Deployment configuration
14-
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
15-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2")
12+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.3")

0 commit comments

Comments
 (0)