File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2424 NEXUS_USER : ${{ secrets.NEXUS_RELEASE_USER }}
2525 NEXUS_PASS : ${{ secrets.NEXUS_RELEASE_PASSWORD }}
2626 run : |
27- ./gradlew publishReleasePublicationToSnapshotsRepository -DLIBRARY_VERSION=${{ github.event.inputs.snapshot-version }}-SNAPSHOT
27+ ./gradlew publishReleasePublicationToMavenRepository -DLIBRARY_VERSION=${{ github.event.inputs.snapshot-version }}-SNAPSHOT
2828 plugin :
2929 runs-on : [ self-hosted-org, linux ]
3030 container :
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ publishing {
1717 username System . env. NEXUS_USER
1818 password System . env. NEXUS_PASS
1919 }
20- url " https://nexusng.tuenti.io/repository/maven-release-private/"
20+ def releasesRepoUrl = " https://nexusng.tuenti.io/repository/maven-release-private/"
21+ def snapshotsRepoUrl = " https://nexusng.tuenti.io/repository/maven-snapshot-private/"
22+ url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
2123 }
2224 }
2325 publications {
You can’t perform that action at this time.
0 commit comments