File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 1515}
1616
1717getVersion () {
18- gradle properties -q | grep " version:" | grep -v " kotlin_version:" | awk ' {print $2}' | tr -d ' [:space:]'
18+ ./gradlew properties -q | grep " version:" | grep -v " kotlin_version:" | awk ' {print $2}' | tr -d ' [:space:]'
1919}
2020
2121removeSnapshots () {
@@ -52,24 +52,24 @@ commitNextVersion() {
5252 git commit -a -m " Update version for release"
5353}
5454
55- if [ " ${TRAVIS_PULL_REQUEST} " = " false" ] && [ " ${TRAVIS_BRANCH} " = " master" ]; then
56- if [ " ${RELEASE} " = " true" ]; then
55+ # if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then
56+ # if [ "${RELEASE}" = "true" ]; then
5757 echo " Deploying release to Bintray"
5858 saveGitCredentials
5959 removeSnapshots
6060
61- ./gradlew clean assemble && ./gradlew check --info && ./gradlew bintrayUpload -x check --info
61+ # ./gradlew clean assemble && ./gradlew check --info && ./gradlew bintrayUpload -x check --info
6262
6363 commitRelease
6464 bumpVersion
6565 commitNextVersion
6666 git push --follow-tags
67- else
68- echo " Deploying snapshot"
69- saveGitCredentials
70- ./gradlew artifactoryPublish -Dsnapshot=true -Dbuild.number=" ${TRAVIS_BUILD_NUMBER} "
71- fi
72- else
73- echo " Verify"
74- ./gradlew clean assemble && ./gradlew check --info
75- fi
67+ # else
68+ # echo "Deploying snapshot"
69+ # saveGitCredentials
70+ # ./gradlew artifactoryPublish -Dsnapshot=true -Dbuild.number="${TRAVIS_BUILD_NUMBER}"
71+ # fi
72+ # else
73+ # echo "Verify"
74+ # ./gradlew clean assemble && ./gradlew check --info
75+ # fi
You can’t perform that action at this time.
0 commit comments