mirror of
https://gitee.com/replugin/RePlugin.git
synced 2024-12-02 03:38:06 +08:00
#Deploy# fix wrong gradle version
This commit is contained in:
parent
1532c28fa2
commit
9c2168d94d
@ -14,7 +14,7 @@ __gradle_exec(){ if [[ -x gradlew ]];then ./gradlew ${@}; else gradle ${@}; fi;
|
|||||||
__rp_deploy_project(){
|
__rp_deploy_project(){
|
||||||
[[ ! -d ${1} ]] && echo ">>> INVALID ${1}!!! <<<" && return
|
[[ ! -d ${1} ]] && echo ">>> INVALID ${1}!!! <<<" && return
|
||||||
# execute deploying
|
# execute deploying
|
||||||
echo ">>> ${1} <<<" && __gradle_exec -p ${1} clean bintrayUpload
|
echo ">>> ${1} <<<" && cd ${1} && __gradle_exec -p ${1} clean bintrayUpload
|
||||||
# revert changed files
|
# revert changed files
|
||||||
git checkout ${1}
|
git checkout ${1}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user