Skip to content

Commit bd32fe0

Browse files
enable sbt ci release
1 parent 4c07952 commit bd32fe0

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
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/[email protected]
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ lazy val commonSettings = Seq(
4141
Developer(
4242
"stephennancekivell",
4343
"Stephen Nancekivell",
44-
44+
"stephennancekivell+github@gmail.com",
4545
url("https://stephenn.com")
4646
),
4747
Developer(

project/plugins.sbt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.7")
2-
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.2")
1+
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.7")

0 commit comments

Comments
 (0)