File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11name : Publish Native Android Library
22
3- on : workflow_dispatch
3+ # on: workflow_dispatch
4+ on :
5+ workflow_dispatch :
6+ push :
7+ branches : [ test-staging-release ]
48
59jobs :
610 publish-android :
Original file line number Diff line number Diff line change 66 <modelVersion >4.0.0</modelVersion >
77 <groupId >io.ionic.libs</groupId >
88 <artifactId >iongeolocation-android</artifactId >
9- <version >1.0.0</version >
9+ <version >1.0.0-test </version >
1010</project >
Original file line number Diff line number Diff line change 2121
2222 printf %" s\n" " Attempting to build and publish version $THE_VERSION "
2323 # Publish a release to the Maven repo
24- " $ANDROID_PATH " /gradlew clean build publishReleasePublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository --no-daemon --max-workers 1 -b " $ANDROID_PATH " /build.gradle -Pandroid.useAndroidX=true > $LOG_OUTPUT 2>&1
24+ # "$ANDROID_PATH"/gradlew clean build publishReleasePublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository --no-daemon --max-workers 1 -b "$ANDROID_PATH"/build.gradle -Pandroid.useAndroidX=true > $LOG_OUTPUT 2>&1
2525 # Stage a version
26- # "$ANDROID_PATH"/gradlew clean build publishReleasePublicationToSonatypeRepository --no-daemon --max-workers 1 -b "$ANDROID_PATH"/build.gradle -Pandroid.useAndroidX=true > $LOG_OUTPUT 2>&1
26+ " $ANDROID_PATH " /gradlew clean build publishReleasePublicationToSonatypeRepository --no-daemon --max-workers 1 -b " $ANDROID_PATH " /build.gradle -Pandroid.useAndroidX=true > $LOG_OUTPUT 2>&1
2727
2828 echo $RESULT
2929
You can’t perform that action at this time.
0 commit comments