Skip to content

Commit c26e1c2

Browse files
chore: release 2.23.2
Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 4cdae73 commit c26e1c2

File tree

5 files changed

+11
-25
lines changed

5 files changed

+11
-25
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
name: Publish to Sonatype
10+
name: Publish to Maven Central
1111
runs-on: ubuntu-22.04
1212
if: "startsWith(github.event.head_commit.message, 'chore: release')"
1313
steps:
@@ -24,23 +24,9 @@ jobs:
2424
- name: Compile
2525
run: sbt +compile
2626

27-
- name: Import GPG Key
28-
uses: crazy-max/ghaction-import-gpg@v6
29-
with:
30-
gpg_private_key: ${{ secrets.SIGNING_PRIVATE_KEY }}
31-
passphrase: ${{ secrets.SIGNING_PRIVATE_KEY_PASSWORD }}
32-
fingerprint: ${{ secrets.SIGNING_PRIVATE_KEY_FINGERPRINT }}
33-
34-
- name: List GPG keys
35-
run: gpg -K
36-
37-
- name: Publish Signed Artifacts
27+
- run: sbt ci-release
3828
env:
3929
PGP_PASSPHRASE: ${{ secrets.SIGNING_PRIVATE_KEY_PASSWORD }}
40-
run: sbt +publishSigned
41-
42-
- name: Release Bundle to Sonatype
43-
env:
44-
SONATYPE_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
45-
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
46-
run: sbt sonatypeBundleRelease
30+
PGP_SECRET_KEY: ${{ secrets.SIGNING_PRIVATE_KEY }}
31+
SONATYPE_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
32+
SONATYPE_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [2.23.2](https://github.com/algolia/algoliasearch-client-scala/compare/2.23.1...2.23.2)
2+
3+
- [7238519bc9](https://github.com/algolia/api-clients-automation/commit/7238519bc9) chore(clients): correctly upgrade to maven central publishing ([#5085](https://github.com/algolia/api-clients-automation/pull/5085)) by [@millotp](https://github.com/millotp/)
4+
15
## [2.23.1](https://github.com/algolia/algoliasearch-client-scala/compare/2.23.0...2.23.1)
26

37
- [4c9416a9fe](https://github.com/algolia/api-clients-automation/commit/4c9416a9fe) fix(specs): update sourceRun docs ([#5057](https://github.com/algolia/api-clients-automation/pull/5057)) by [@DevinCodes](https://github.com/DevinCodes/)

build.sbt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name := "algoliasearch-scala"
33
description := "Scala client for Algolia Search API"
44
scalaVersion := "2.13.16"
55
crossScalaVersions := Seq("2.13.12", "3.6.3")
6-
publishMavenStyle := true
76
Test / publishArtifact := false
87
licenses += ("MIT", url("https://opensource.org/licenses/MIT"))
98
homepage := Some(url("https://github.com/algolia/algoliasearch-client-scala/"))
@@ -23,8 +22,6 @@ developers += Developer(
2322
url("https://github.com/algolia/algoliasearch-client-scala/")
2423
)
2524

26-
publishTo := sonatypePublishToBundle.value
27-
2825
lazy val root = project
2926
.in(file("."))
3027
.enablePlugins(BuildInfoPlugin)

project/plugins.sbt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.13.1")
2-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2")
3-
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
2+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.1")
43
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.5")

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ThisBuild / version := "2.23.1"
1+
ThisBuild / version := "2.23.2"

0 commit comments

Comments
 (0)