File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1717if [ " ${TRAVIS_PULL_REQUEST} " = " false" ] && [ " ${TRAVIS_BRANCH} " = " master" ]; then
1818# if [ "${RELEASE}" = "true" ]; then
1919 echo " Deploying release to Bintray"
20- NEXT_VERSION=" $( gradle properties -q | grep " version:" | grep -v " kotlin_version:" | awk ' {print $2}' | tr -d ' [:space:]' ) b$( date +%Y%m%d%H%M) "
20+ # NEXT_VERSION="$(gradle properties -q | grep "version:" | grep -v "kotlin_version:" | awk '{print $2}' | tr -d '[:space:]')b$(date +%Y%m%d%H%M)"
21+ NEXT_VERSION=" $( gradle properties -q | grep " version:" | grep -v " kotlin_version:" | awk ' {print $2}' | tr -d ' [:space:]' ) b${TRAVIS_BUILD_NUMBER} "
2122 sed -i -E " s/^version(\s)?=.*/version=${NEXT_VERSION} /" gradle.properties
2223 saveGitCredentials
2324 ./gradlew clean assemble && ./gradlew check --info && ./gradlew bintrayUpload -x check --info
You can’t perform that action at this time.
0 commit comments