Skip to content

Commit 8b3367a

Browse files
committed
Add the sbt-ci-release plugin
1 parent b6cd0a4 commit 8b3367a

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

build.sbt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ ThisBuild / crossScalaVersions := {
1212
ThisBuild / scalaVersion := crossScalaVersions.value.head
1313

1414
val commonSettings = Seq(
15-
version := "1.2.0-SNAPSHOT",
1615
organization := "org.scala-js",
1716
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings")
1817
)
@@ -66,21 +65,6 @@ scalacOptions ++= {
6665
else Nil
6766
}
6867

69-
scmInfo := Some(ScmInfo(
70-
url("https://github.com/scala-js/scala-js-dom"),
71-
"scm:git:[email protected]:scala-js/scala-js-dom.git",
72-
Some("scm:git:[email protected]:scala-js/scala-js-dom.git")))
73-
74-
publishMavenStyle := true
75-
76-
publishTo := {
77-
val nexus = "https://oss.sonatype.org/"
78-
if (isSnapshot.value)
79-
Some("snapshots" at nexus + "content/repositories/snapshots")
80-
else
81-
Some("releases" at nexus + "service/local/staging/deploy/maven2")
82-
}
83-
8468
pomExtra := (
8569
<developers>
8670
<developer>

project/plugins.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
66
addSbtPlugin("com.lihaoyi" % "scalatex-sbt-plugin" % "0.3.11")
77

88
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.0.0")
9+
10+
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.7")

0 commit comments

Comments
 (0)