#Deploy# fix wrong gradle version

This commit is contained in:
hyongbai 2019-03-28 19:49:59 +08:00
parent 1532c28fa2
commit 9c2168d94d

View File

@ -14,7 +14,7 @@ __gradle_exec(){ if [[ -x gradlew ]];then ./gradlew ${@}; else gradle ${@}; fi;
__rp_deploy_project(){
[[ ! -d ${1} ]] && echo ">>> INVALID ${1}!!! <<<" && return
# execute deploying
echo ">>> ${1} <<<" && __gradle_exec -p ${1} clean bintrayUpload
echo ">>> ${1} <<<" && cd ${1} && __gradle_exec -p ${1} clean bintrayUpload
# revert changed files
git checkout ${1}
}