Skip to content

Commit 72d20dc

Browse files
author
Jean-Marc van Leerdam
committed
Update config according to readme of sbt-ci-release
1 parent 5ef359d commit 72d20dc

File tree

4 files changed

+30
-8
lines changed

4 files changed

+30
-8
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: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,18 @@ lazy val plugin = (project in file("plugin"))
1212
.settings(
1313
name := "sbt-azure-functions",
1414
organization := "nl.codestar",
15-
// version is set in version.sbt
15+
homepage := Some("https://github.com/code-star/sbt-azure-functions-plugin"),
16+
// version is set by sbt-dynver plugin (included through sbt-ci-assembly)
1617
description := "SBT Plugin to generate function.json artefacts needed to publish code as an Azure Function",
1718
licenses += ("MIT", url("https://opensource.org/licenses/MIT")),
19+
developers := List(
20+
Developer(
21+
"jeanmarc",
22+
"Jean-Marc van Leerdam",
23+
"jean-marc.van.leerdam@ordina.nl",
24+
url("https://github.com/jeanmarc")
25+
)
26+
),
1827
scalacOptions ++= Seq(
1928
"-encoding",
2029
"UTF8",
@@ -41,10 +50,6 @@ lazy val plugin = (project in file("plugin"))
4150
},
4251
scriptedBufferLog := false,
4352
logBuffered in Test := false,
44-
bintrayRepository := "sbt-plugins",
45-
bintrayOrganization := Some("code-star"),
46-
bintrayPackageLabels := Seq("sbt", "plugin"),
47-
publishMavenStyle := false,
4853
publishArtifact in Test := false
4954
)
5055

project/plugins.sbt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.13")
2-
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.5")
1+
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.7")
32
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.10")

version.sbt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)