Skip to content

Commit

Permalink
Merge pull request #21 from poslegm/releases
Browse files Browse the repository at this point in the history
CI releases
  • Loading branch information
poslegm committed Mar 22, 2021
2 parents a537f32 + 373d577 commit 9097474
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release
on:
push:
branches: [master, main]
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v10
- 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 }}
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import Dependencies._

inThisBuild(
List(
organization := "chugunkov.dev",
homepage := Some(url("https://github.com/macro-validated/")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
organization := "com.github.poslegm",
homepage := Some(url("https://github.com/brief/")),
licenses := List("MIT" -> url("http://opensource.org/licenses/MIT")),
developers := List(
Developer(
"poslegm",
"Mikhail Chugunkov",
"poslegm@gmail.com",
url("https://chugunkov.dev")
url("https://github.com/poslegm")
)
)
)
Expand Down
3 changes: 2 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.6")

0 comments on commit 9097474

Please sign in to comment.