File tree Expand file tree Collapse file tree 5 files changed +11
-25
lines changed Expand file tree Collapse file tree 5 files changed +11
-25
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
release :
10
- name : Publish to Sonatype
10
+ name : Publish to Maven Central
11
11
runs-on : ubuntu-22.04
12
12
if : " startsWith(github.event.head_commit.message, 'chore: release')"
13
13
steps :
24
24
- name : Compile
25
25
run : sbt +compile
26
26
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
38
28
env :
39
29
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 }}
Original file line number Diff line number Diff line change
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
+
1
5
## [ 2.23.1] ( https://github.com/algolia/algoliasearch-client-scala/compare/2.23.0...2.23.1 )
2
6
3
7
- [ 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/ )
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name := "algoliasearch-scala"
3
3
description := " Scala client for Algolia Search API"
4
4
scalaVersion := " 2.13.16"
5
5
crossScalaVersions := Seq (" 2.13.12" , " 3.6.3" )
6
- publishMavenStyle := true
7
6
Test / publishArtifact := false
8
7
licenses += (" MIT" , url(" https://opensource.org/licenses/MIT" ))
9
8
homepage := Some (url(" https://github.com/algolia/algoliasearch-client-scala/" ))
@@ -23,8 +22,6 @@ developers += Developer(
23
22
url(" https://github.com/algolia/algoliasearch-client-scala/" )
24
23
)
25
24
26
- publishTo := sonatypePublishToBundle.value
27
-
28
25
lazy val root = project
29
26
.in(file(" ." ))
30
27
.enablePlugins(BuildInfoPlugin )
Original file line number Diff line number Diff line change 1
1
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" )
4
3
addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.5" )
Original file line number Diff line number Diff line change 1
- ThisBuild / version := " 2.23.1 "
1
+ ThisBuild / version := " 2.23.2 "
You can’t perform that action at this time.
0 commit comments