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 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 :
26
26
- name : Upload Artifacts
27
27
run : ./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache
28
28
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 }}
31
31
ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.SIGNING_PRIVATE_KEY }}
32
32
ORG_GRADLE_PROJECT_signingInMemoryKeyId : ${{ secrets.SIGNING_PRIVATE_KEY_ID }}
33
33
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
+
1
5
## [ 4.21.1] ( https://github.com/algolia/algoliasearch-client-java/compare/4.21.0...4.21.1 )
2
6
3
7
- [ 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() {
6
6
// Empty.
7
7
}
8
8
9
- public static final String VERSION = "4.21.1 " ;
9
+ public static final String VERSION = "4.21.2 " ;
10
10
}
Original file line number Diff line number Diff line change @@ -9,10 +9,7 @@ plugins {
9
9
}
10
10
11
11
repositories {
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/" }
16
13
mavenCentral()
17
14
}
18
15
Original file line number Diff line number Diff line change 1
1
GROUP =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
7
3
8
4
# POM
9
5
POM_DESCRIPTION =Java client for Algolia Search API
@@ -19,3 +15,8 @@ POM_DEVELOPER_NAME=The Algolia Team
19
15
POM_DEVELOPER_EMAIL =
[email protected]
20
16
POM_ISSUE_SYSTEM =github
21
17
POM_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