File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
6
6
./gradlew -Prelease.useLastTag=true build
7
7
elif [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_TAG " == " " ]; then
8
8
echo -e ' Build Branch with Snapshot => Branch [' $TRAVIS_BRANCH ' ]'
9
- if [ " ${bintrayUser} " ] && [ " ${bintrayKey} " ] && [ " ${sonatypeUsername} " ] && [ " ${sonatypePassword} " ]; then
9
+ if [ " ${bintrayUser} " ] && [ " ${bintrayKey} " ] && [ " ${sonatypeUsername} " ] && [ " ${sonatypePassword} " ]; then
10
10
./gradlew -Prelease.travisci=true -PbintrayUser=" ${bintrayUser} " -PbintrayKey=" ${bintrayKey} " -PsonatypeUsername=" ${sonatypeUsername} " -PsonatypePassword=" ${sonatypePassword} " build snapshot --stacktrace
11
11
else
12
12
echo -e ' MISSING USERNAME/PASSWORD ENVIRONMENT VARIABLES'
13
13
exit 1
14
14
fi
15
15
elif [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_TAG " != " " ]; then
16
16
echo -e ' Build Branch for Release => Branch [' $TRAVIS_BRANCH ' ] Tag [' $TRAVIS_TAG ' ]'
17
- if [ " ${bintrayUser} " ] && [ " ${bintrayKey} " ] && [ " ${sonatypeUsername} " ] && [ " ${sonatypePassword} " ]; then
17
+ if [ " ${bintrayUser} " ] && [ " ${bintrayKey} " ] && [ " ${sonatypeUsername} " ] && [ " ${sonatypePassword} " ]; then
18
18
./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser=" ${bintrayUser} " -PbintrayKey=" ${bintrayKey} " -PsonatypeUsername=" ${sonatypeUsername} " -PsonatypePassword=" ${sonatypePassword} " final --stacktrace
19
19
else
20
20
echo -e ' MISSING USERNAME/PASSWORD ENVIRONMENT VARIABLES'
You can’t perform that action at this time.
0 commit comments