Skip to content

Commit

Permalink
fix(java-sdk): fix publishing to maven central (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh authored Sep 21, 2023
2 parents 071099f + c94cea1 commit 21bc9fc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions config/clients/java/CHANGELOG.md.mustache
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v0.0.3, v0.0.4

### [0.0.4](https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}/compare/v0.0.2...v0.0.4) (2023-09-21)

- fix: publishing to maven central

## v0.0.2

### [0.0.2](https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}/compare/v0.0.1...v0.0.2) (2023-09-15)
Expand Down
2 changes: 1 addition & 1 deletion config/clients/java/config.overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"gitRepoId": "java-sdk",
"artifactId": "openfga-sdk",
"groupId": "dev.openfga",
"packageVersion": "0.0.2",
"packageVersion": "0.0.4",
"apiPackage": "dev.openfga.sdk.api",
"authPackage": "dev.openfga.sdk.api.auth",
"configPackage": "dev.openfga.sdk.api.configuration",
Expand Down
2 changes: 1 addition & 1 deletion config/clients/java/template/publish.gradle.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ publishing {
repositories {
maven {
name = 'SonatypeOSSRH' // AKA: "Maven Central"
url = 'https://s01.oss.sonatype.org/service/local/'
url = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
credentials {
username = System.getenv('MAVEN_USERNAME')
password = System.getenv('MAVEN_PASSWORD')
Expand Down

0 comments on commit 21bc9fc

Please sign in to comment.