Skip to content

Commit

Permalink
Merge pull request #3128 from Multiverse/fix-publish-repo
Browse files Browse the repository at this point in the history
  • Loading branch information
benwoo1110 authored Nov 18, 2024
2 parents e33fc93 + c4d01b6 commit 2f8d233
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/generic.github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,8 @@ jobs:
with:
arguments: >
publish -x test
-PmultiverseReleasesUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
-PmultiverseReleasesPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
-PmultiverseSnapshotsUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
-PmultiverseSnapshotsPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
-PmultiverseUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
-PmultiversePassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
env:
GITHUB_VERSION: ${{ steps.release.outputs.publish_version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
11 changes: 4 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,10 @@ publishing {
}
}
maven {
name = "multiverseReleases"
url = "https://repo.dumptruckman.com/multiverse-releases"
credentials(PasswordCredentials)
}
maven {
name = "multiverseSnapshots"
url = "https://repo.dumptruckman.com/multiverse-snapshots"
name = "multiverse"
def releasesRepoUrl = "https://repo.dumptruckman.com/multiverse-releases"
def snapshotsRepoUrl = "https://repo.dumptruckman.com/multiverse-snapshots"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials(PasswordCredentials)
}
}
Expand Down

0 comments on commit 2f8d233

Please sign in to comment.