Skip to content

Commit 554d937

Browse files
authored
#3 Set up release process and add CODEOWNERS (#19)
1 parent 4f6a7e8 commit 554d937

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@jakipatryk

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#
2+
# Copyright 2023 ABSA Group Limited
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
name: Release
18+
on:
19+
workflow_dispatch:
20+
21+
jobs:
22+
publish:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
28+
- uses: olafurpg/setup-scala@v14
29+
with:
30+
java-version: "[email protected]"
31+
- run: sbt ci-release
32+
env:
33+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
34+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
35+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
36+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

publish.sbt

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* Copyright 2023 ABSA Group Limited
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
ThisBuild / organizationHomepage := Some(url("https://www.absa.africa"))
18+
ThisBuild / scmInfo := Some(
19+
ScmInfo(
20+
browseUrl = url("https://github.com/AbsaOSS/springdoc-openapi-scala/tree/main"),
21+
connection = "scm:git:git://github.com/AbsaOSS/springdoc-openapi-scala.git",
22+
devConnection = "scm:git:ssh://github.com/AbsaOSS/springdoc-openapi-scala.git"
23+
)
24+
)
25+
26+
ThisBuild / developers := List(
27+
Developer(
28+
id = "jakipatryk",
29+
name = "Bartlomiej Baj",
30+
email = "[email protected]",
31+
url = url("https://github.com/jakipatryk")
32+
)
33+
)
34+
35+
ThisBuild / homepage := Some(url("https://github.com/AbsaOSS/springdoc-openapi-scala"))
36+
ThisBuild / description := "Enhancement of springdoc-openapi for Scala"
37+
ThisBuild / organizationName := "ABSA Group Limited"
38+
ThisBuild / startYear := Some(2023)
39+
ThisBuild / licenses += "Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt")

0 commit comments

Comments
 (0)