File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 3838
3939 - name : Build & Publish
4040 uses : gradle/gradle-build-action@v2
41- env :
42- GITHUB_VERSION : ${{ needs.create_release.outputs.version }}
4341 with :
4442 arguments : >
4543 clean build publish
44+ -Dversion=${{ needs.create_release.outputs.version }}
4645 -PmultiverseUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
4746 -PmultiversePassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77group = ' org.mvplugins.gradle'
8- version = System . getenv( ' GITHUB_VERSION ' ) ?: ' 0.0.0-SNAPSHOT'
8+ version = System . getProperty( ' version ' , ' 0.0.0-SNAPSHOT' )
99
1010repositories {
1111 mavenCentral()
@@ -21,9 +21,7 @@ publishing {
2121 repositories {
2222 maven {
2323 name = " multiverse"
24- def releasesRepoUrl = " https://repo.onarandombox.com/multiverse-releases"
25- def snapshotsRepoUrl = " https://repo.onarandombox.com/multiverse-snapshots"
26- url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
24+ url = ' https://repo.onarandombox.com/multiverse-releases'
2725 credentials(PasswordCredentials )
2826 }
2927 }
You can’t perform that action at this time.
0 commit comments