File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,4 +16,13 @@ dependencies {
1616 testCompile ' org.mockito:mockito-core:1.8.5'
1717}
1818
19+ // support for snapshot/final releases with the various branches RxJava uses
20+ nebulaRelease {
21+ addReleaseBranchPattern(/ \d +\.\d +\.\d +/ )
22+ addReleaseBranchPattern(' HEAD' )
23+ }
24+
25+ if (project. hasProperty(' release.useLastTag' )) {
26+ tasks. prepare. enabled = false
27+ }
1928
Original file line number Diff line number Diff line change 1- version =1.0.0-RC1-SNAPSHOT
1+ release.scope =patch
Original file line number Diff line number Diff line change 22# This script will build the project.
33
44if [ " $TRAVIS_PULL_REQUEST " ]; then
5- echo -e ' Build Pull Request => Branch [' $TRAVIS_BRANCH ' ] '
5+ echo -e " Build Pull Request # $TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH ] "
66 ./gradlew -Prelease.useLastTag=true build
77elif [ ! " $TRAVIS_PULL_REQUEST " ] && [ " $TRAVIS_TAG " == " " ]; then
88 echo -e ' Build Branch with Snapshot => Branch [' $TRAVIS_BRANCH ' ]'
You can’t perform that action at this time.
0 commit comments