Skip to content

Commit

Permalink
#3 Set up release process and add CODEOWNERS (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakipatryk committed Dec 20, 2023
1 parent 4f6a7e8 commit 554d937
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@jakipatryk
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#
# Copyright 2023 ABSA Group Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name: Release
on:
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v14
with:
java-version: "adopt@1.8"
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
39 changes: 39 additions & 0 deletions publish.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* Copyright 2023 ABSA Group Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

ThisBuild / organizationHomepage := Some(url("https://www.absa.africa"))
ThisBuild / scmInfo := Some(
ScmInfo(
browseUrl = url("https://github.com/AbsaOSS/springdoc-openapi-scala/tree/main"),
connection = "scm:git:git://github.com/AbsaOSS/springdoc-openapi-scala.git",
devConnection = "scm:git:ssh://github.com/AbsaOSS/springdoc-openapi-scala.git"
)
)

ThisBuild / developers := List(
Developer(
id = "jakipatryk",
name = "Bartlomiej Baj",
email = "bartlomiej.baj@absa.africa",
url = url("https://github.com/jakipatryk")
)
)

ThisBuild / homepage := Some(url("https://github.com/AbsaOSS/springdoc-openapi-scala"))
ThisBuild / description := "Enhancement of springdoc-openapi for Scala"
ThisBuild / organizationName := "ABSA Group Limited"
ThisBuild / startYear := Some(2023)
ThisBuild / licenses += "Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt")

0 comments on commit 554d937

Please sign in to comment.