mirror of
https://gitee.com/replugin/RePlugin.git
synced 2024-11-30 02:38:34 +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(){
|
||||
[[ ! -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}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user