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 77
88jobs :
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 :
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 }}
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+
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/ )
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name := "algoliasearch-scala"
33description := " Scala client for Algolia Search API"
44scalaVersion := " 2.13.16"
55crossScalaVersions := Seq (" 2.13.12" , " 3.6.3" )
6- publishMavenStyle := true
76Test / publishArtifact := false
87licenses += (" MIT" , url(" https://opensource.org/licenses/MIT" ))
98homepage := 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-
2825lazy val root = project
2926 .in(file(" ." ))
3027 .enablePlugins(BuildInfoPlugin )
Original file line number Diff line number Diff line change 11addSbtPlugin(" 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" )
43addSbtPlugin(" 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