Skip to content

Commit

Permalink
NH-92598: change repo to sonatype to match nexus
Browse files Browse the repository at this point in the history
  • Loading branch information
cleverchuk committed Sep 30, 2024
1 parent 2aa7bee commit b6c7ad7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: gradle/actions/setup-gradle@v3

- name: Publish
run: ./gradlew publish closeAndReleaseSonatypeStagingRepository
run: ./gradlew publishAllPublicationsToSonatypeRepository closeAndReleaseSonatypeStagingRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The secrets are for publishing the build artifacts to the Maven Central.
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ plugins{
}

group = "com.solarwinds"
version = "2.8.0"

subprojects {
apply plugin: "java"
Expand Down
2 changes: 1 addition & 1 deletion solarwinds-otel-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ publishing {

repositories {
maven {
name = "OSSRH"
name = "sonatype"
url = Boolean.parseBoolean(System.getenv("SNAPSHOT_BUILD")) ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = System.getenv("SONATYPE_USERNAME")
Expand Down

0 comments on commit b6c7ad7

Please sign in to comment.