diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c767c7..62d87c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,14 @@ jobs: - name: Compile and test run: sbt test + - name: Publish artifacts + env: + PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} + PGP_SECRET: ${{ secrets.PGP_SECRET }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + run: sbt ++${{ matrix.scala }} ci-release + ci-passed: runs-on: ubuntu-latest needs: build diff --git a/build.sbt b/build.sbt index 45df6f4..4325f6d 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,46 @@ //To use Scalafix on Scala 3 projects, you must unset `scalafixBinaryScalaVersion` //ThisBuild / scalafixScalaBinaryVersion := CrossVersion.binaryScalaVersion(scalaVersion.value) +inThisBuild( + List( + organization := "ru.tinkoff", + homepage := Some(url("https://github.com/Tinkoff/oolong")), + licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), + developers := List( + Developer( + "edubrovski", + "Eduard Dubrovsky", + "dubrovskieddie@gmail.com", + url("https://github.com/edubrovski") + ), + Developer( + "danslapman", + "Daniil Smirnov", + "danslapman@gmail.com", + url("https://github.com/danslapman") + ), + Developer( + "desavitsky", + "Denis Savitsky", + "-", + url("https://github.com/desavitsky") + ), + Developer( + "Assassin4791", + "Assassin4791", + "-", + url("https://github.com/Assassin4791") + ), + Developer( + "InversionSpaces", + "InversionSpaces", + "InversionSpaces@vivaldi.net", + url("https://github.com/InversionSpaces") + ) + ) + ) +) + val `oolong-bson` = (project in file("oolong-bson")) .settings(Settings.common) .settings( diff --git a/project/plugins.sbt b/project/plugins.sbt index 5272c9d..761889f 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,5 @@ addDependencyTreePlugin -addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34") -addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") -addSbtPlugin("ch.epfl.scala" % "sbt-missinglink" % "0.3.2") +addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34") +addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") +addSbtPlugin("ch.epfl.scala" % "sbt-missinglink" % "0.3.2") +addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")