File tree Expand file tree Collapse file tree 5 files changed +15
-13
lines changed
algoliasearch/src/main/java/com/algolia Expand file tree Collapse file tree 5 files changed +15
-13
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 :
2626 - name : Upload Artifacts
2727 run : ./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache
2828 env :
29- ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
30- ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
29+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
30+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
3131 ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.SIGNING_PRIVATE_KEY }}
3232 ORG_GRADLE_PROJECT_signingInMemoryKeyId : ${{ secrets.SIGNING_PRIVATE_KEY_ID }}
3333 ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.SIGNING_PRIVATE_KEY_PASSWORD }}
Original file line number Diff line number Diff line change 1+ ## [ 4.21.2] ( https://github.com/algolia/algoliasearch-client-java/compare/4.21.1...4.21.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## [ 4.21.1] ( https://github.com/algolia/algoliasearch-client-java/compare/4.21.0...4.21.1 )
26
37- [ fab1a9413c] ( https://github.com/algolia/api-clients-automation/commit/fab1a9413c ) fix(clients): upgrade to maven central publishing ([ #5055 ] ( https://github.com/algolia/api-clients-automation/pull/5055 ) ) by [ @millotp ] ( https://github.com/millotp/ )
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ private BuildConfig() {
66 // Empty.
77 }
88
9- public static final String VERSION = "4.21.1 " ;
9+ public static final String VERSION = "4.21.2 " ;
1010}
Original file line number Diff line number Diff line change @@ -9,10 +9,7 @@ plugins {
99}
1010
1111repositories {
12- maven {
13- name = ' ossrh-staging-api'
14- url = " https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
15- }
12+ maven { url = " https://oss.sonatype.org/content/repositories/" }
1613 mavenCentral()
1714}
1815
Original file line number Diff line number Diff line change 11GROUP =com.algolia
2- VERSION_NAME =4.21.1
3-
4- SONATYPE_HOST =DEFAULT
5- RELEASE_SIGNING_ENABLED =true
6- SONATYPE_AUTOMATIC_RELEASE =true
2+ VERSION_NAME =4.21.2
73
84# POM
95POM_DESCRIPTION =Java client for Algolia Search API
@@ -19,3 +15,8 @@ POM_DEVELOPER_NAME=The Algolia Team
1915POM_DEVELOPER_EMAIL =hey@algolia.com
2016POM_ISSUE_SYSTEM =github
2117POM_ISSUE_URL =https://github.com/algolia/algoliasearch-client-java/issues
18+
19+ # Publishing
20+ mavenCentralPublishing =true
21+ mavenCentralAutomaticPublishing =true
22+ signAllPublications =true
You can’t perform that action at this time.
0 commit comments