This repository was archived by the owner on May 4, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "develop" ]
1414 # Develop Branch
1515 echo -e ' Build Branch with Snapshot => Branch [' $TRAVIS_BRANCH ' ]'
1616 export ORG_GRADLE_PROJECT_releaseType=snapshot
17- export ORG_GRADLE_PROJECT_commitHash=${TRAVIS_COMMIT:: 7}
1817 ./gradlew clean build publish --stacktrace
1918elif [ " $TRAVIS_PULL_REQUEST " == " false" ] && [[ " $TRAVIS_BRANCH " == release/* ]] && [ " $TRAVIS_TAG " == " " ]; then
2019 # Release Branch
@@ -29,5 +28,7 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ];
2928else
3029 # Feature Branch
3130 echo -e ' Build Branch => Branch [' $TRAVIS_BRANCH ' ]'
32- ./gradlew clean build --stacktrace
31+ export ORG_GRADLE_PROJECT_releaseType=snapshot
32+ export ORG_GRADLE_PROJECT_commitHash=${TRAVIS_COMMIT:: 7}
33+ ./gradlew clean build publish --stacktrace
3334fi
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "develop" ]
1414 # Develop Branch
1515 echo -e ' Build Branch with Snapshot => Branch [' $TRAVIS_BRANCH ' ]'
1616 export ORG_GRADLE_PROJECT_releaseType=snapshot
17- export ORG_GRADLE_PROJECT_commitHash=${TRAVIS_COMMIT:: 7}
1817 ./gradlew clean build publish --stacktrace
1918elif [ " $TRAVIS_PULL_REQUEST " == " false" ] && [[ " $TRAVIS_BRANCH " == release/* ]] && [ " $TRAVIS_TAG " == " " ]; then
2019 # Release Branch
@@ -29,5 +28,7 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ];
2928else
3029 # Feature Branch
3130 echo -e ' Build Branch => Branch [' $TRAVIS_BRANCH ' ]'
32- ./gradlew clean build --stacktrace
31+ export ORG_GRADLE_PROJECT_releaseType=snapshot
32+ export ORG_GRADLE_PROJECT_commitHash=${TRAVIS_COMMIT:: 7}
33+ ./gradlew clean build publish --stacktrace
3334fi
You can’t perform that action at this time.
0 commit comments