Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release
on:
push:
branches: [master]
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
13 changes: 12 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,18 @@ lazy val nettyExclusions = Seq(
"netty-codec-http"
).map(name => ExclusionRule(organization = "io.netty", name = name))

ThisBuild / organization := "io.waylay.influxdb"
ThisBuild / organization := "io.waylay"
ThisBuild / homepage := Some(url("https://waylay.io"))
ThisBuild / developers := List(
Developer(
"ramazanyich",
"Ramil Israfilov",
"ramazanyich@gmail.com",
url("https://github.com/ramazanyich")
),
Developer("brunoballekens", "Bruno Ballekens", "bruno@waylay.io", url("https://github.com/brunoballekens"))
)
ThisBuild / licenses := List("MIT License" -> url("http://www.opensource.org/licenses/mit-license.php"))

lazy val root = (project in file("."))
.settings(
Expand Down
4 changes: 2 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0")

addSbtPlugin("com.github.sbt" % "sbt-ghpages" % "0.7.0")

addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.8.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
48 changes: 0 additions & 48 deletions publish.sbt
Original file line number Diff line number Diff line change
@@ -1,51 +1,3 @@
releasePublishArtifactsAction := PgpKeys.publishSigned.value

publishMavenStyle := true

pomIncludeRepository := { _ => false }

publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

updateOptions := updateOptions.value.withGigahorse(false)

pomExtra := (<url>https://github.com/waylayio/influxdb-scala</url>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>francisdb</id>
<name>Francis De Brabandere</name>
<url>https://github.com/francisdb</url>
</developer>
<developer>
<id>thomastoye</id>
<name>Thomas Toye</name>
<url>https://github.com/thomastoye</url>
</developer>
<developer>
<id>brunoballekens</id>
<name>Bruno Ballekens</name>
<url>https://github.com/brunoballekens</url>
</developer>
<developer>
<id>gabrielreid</id>
<name>Gabriel Reid</name>
<url>https://github.com/gabrielreid</url>
</developer>
<developer>
<id>ramazanyich</id>
<name>Ramil Israfilov</name>
<url>https://github.com/ramazanyich</url>
</developer>
</developers>)
4 changes: 0 additions & 4 deletions sonatype.sbt

This file was deleted.

1 change: 0 additions & 1 deletion version.sbt

This file was deleted.

Loading