Skip to content

Commit

Permalink
chore: try to fix snapshot url
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Jan 16, 2024
1 parent 91b22d3 commit 5504d60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flipt-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ publishing {
}
repositories {
maven {
url "$System.env.MAVEN_PUBLISH_REGISTRY_URL"
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username "$System.env.MAVEN_USERNAME"
password "$System.env.MAVEN_PASSWORD"
Expand Down

0 comments on commit 5504d60

Please sign in to comment.