File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2222 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
2323 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
2424 run : |
25- ./gradlew :xap-sdk:publishSnapshots
25+ ./gradlew publishSnapshot
Original file line number Diff line number Diff line change 22// We're setting the root project to a dummy version (1.0.0-SNAPSHOT) to instruct the plugin to use the snapshot repo.
33// This version won't be published. The publishSnapshots task will publish submodules with the defined version in their gradle.properties
44gradle. taskGraph. whenReady { taskGraph ->
5- if (taskGraph. hasTask(" :publishSnapshots " )) {
5+ if (taskGraph. hasTask(" :publishSnapshot " )) {
66 rootProject. version = " 1.0.0-SNAPSHOT"
77 println " 📌 Setting root project version to 1.0.0-SNAPSHOT for publishSnapshots task"
88 }
99}
1010
11- tasks. register(" publishSnapshots " ) {
11+ tasks. register(" publishSnapshot " ) {
1212 def snapshotModules = rootProject. subprojects. findAll { project ->
1313 project. version. toString(). contains(" -SNAPSHOT" ) && project. tasks. named(" publish" ) != null
1414 }
You can’t perform that action at this time.
0 commit comments