File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 78
78
with :
79
79
arguments : >
80
80
publish -x test
81
- -PmultiverseReleasesUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
82
- -PmultiverseReleasesPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
83
- -PmultiverseSnapshotsUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
84
- -PmultiverseSnapshotsPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
81
+ -PmultiverseUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
82
+ -PmultiversePassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
85
83
env :
86
84
GITHUB_VERSION : ${{ steps.release.outputs.publish_version }}
87
85
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -127,13 +127,10 @@ publishing {
127
127
}
128
128
}
129
129
maven {
130
- name = " multiverseReleases"
131
- url = " https://repo.dumptruckman.com/multiverse-releases"
132
- credentials(PasswordCredentials )
133
- }
134
- maven {
135
- name = " multiverseSnapshots"
136
- url = " https://repo.dumptruckman.com/multiverse-snapshots"
130
+ name = " multiverse"
131
+ def releasesRepoUrl = " https://repo.dumptruckman.com/multiverse-releases"
132
+ def snapshotsRepoUrl = " https://repo.dumptruckman.com/multiverse-snapshots"
133
+ url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
137
134
credentials(PasswordCredentials )
138
135
}
139
136
}
You can’t perform that action at this time.
0 commit comments