Skip to content

Commit

Permalink
Publish snapshot for marquez-java lib. (MarquezProject#2598)
Browse files Browse the repository at this point in the history
Signed-off-by: wslulciuc <[email protected]>
  • Loading branch information
wslulciuc committed Aug 15, 2023
1 parent ebc8753 commit b2da5d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clients/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ publishing {

repositories {
maven {
url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
def releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
def snapshotsRepoUrl = 'https://oss.sonatype.org/content/repositories/snapshots/'
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = System.getenv('SONATYPE_NEXUS_USERNAME')
password = System.getenv('SONATYPE_NEXUS_PASSWORD')
Expand Down

0 comments on commit b2da5d5

Please sign in to comment.