Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 613dc3e

Browse files
committed
Run sbt-ci-release when new tag pushed
1 parent 67a06c0 commit 613dc3e

File tree

3 files changed

+19
-22
lines changed

3 files changed

+19
-22
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
11+
with:
12+
fetch-depth: 0
13+
- uses: olafurpg/setup-scala@v13
14+
- run: sbt test 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 }}

project/MySettings.scala

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -91,21 +91,5 @@ object MySettings {
9191
pomIncludeRepository := { _ =>
9292
false
9393
},
94-
publishConfiguration := publishConfiguration.value.withOverwrite(false),
95-
publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true),
96-
releaseIgnoreUntrackedFiles := true,
97-
releaseProcess := Seq[ReleaseStep](
98-
checkSnapshotDependencies,
99-
inquireVersions,
100-
runClean,
101-
runTest,
102-
setReleaseVersion,
103-
commitReleaseVersion,
104-
tagRelease,
105-
releaseStepCommandAndRemaining("+publishSigned"),
106-
setNextVersion,
107-
commitNextVersion,
108-
releaseStepCommand("sonatypeReleaseAll")
109-
)
11094
)
11195
}

script/release.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)