Skip to content

Commit 9097474

Browse files
authored
Merge pull request #21 from poslegm/releases
CI releases
2 parents a537f32 + 373d577 commit 9097474

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [master, main]
5+
tags: ["*"]
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- uses: actions/checkout@v2.3.4
11+
with:
12+
fetch-depth: 0
13+
- uses: olafurpg/setup-scala@v10
14+
- run: sbt ci-release
15+
env:
16+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
17+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
18+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
19+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ import Dependencies._
22

33
inThisBuild(
44
List(
5-
organization := "chugunkov.dev",
6-
homepage := Some(url("https://github.com/macro-validated/")),
7-
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
5+
organization := "com.github.poslegm",
6+
homepage := Some(url("https://github.com/brief/")),
7+
licenses := List("MIT" -> url("http://opensource.org/licenses/MIT")),
88
developers := List(
99
Developer(
1010
"poslegm",
1111
"Mikhail Chugunkov",
1212
"poslegm@gmail.com",
13-
url("https://chugunkov.dev")
13+
url("https://github.com/poslegm")
1414
)
1515
)
1616
)

project/plugins.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
1+
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
2+
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.6")

0 commit comments

Comments
 (0)