mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 07:16:08 +08:00
更新git pull参数
This commit is contained in:
parent
f0d2d57584
commit
0581a7ab10
|
@ -324,7 +324,7 @@ git_pull_scripts() {
|
||||||
git fetch --all
|
git fetch --all
|
||||||
exit_status=$?
|
exit_status=$?
|
||||||
git reset --hard &>/dev/null
|
git reset --hard &>/dev/null
|
||||||
git pull &>/dev/null
|
git pull --allow-unrelated-histories &>/dev/null
|
||||||
unset_proxy
|
unset_proxy
|
||||||
|
|
||||||
cd $dir_current
|
cd $dir_current
|
||||||
|
|
|
@ -243,6 +243,8 @@ usage() {
|
||||||
update_qinglong() {
|
update_qinglong() {
|
||||||
patch_version
|
patch_version
|
||||||
|
|
||||||
|
pnpm install -g pm2 &>/dev/null
|
||||||
|
|
||||||
local no_restart="$1"
|
local no_restart="$1"
|
||||||
[[ -f $dir_root/package.json ]] && ql_depend_old=$(cat $dir_root/package.json)
|
[[ -f $dir_root/package.json ]] && ql_depend_old=$(cat $dir_root/package.json)
|
||||||
reset_romote_url ${dir_root} "https://github.com/whyour/qinglong.git" ${current_branch}
|
reset_romote_url ${dir_root} "https://github.com/whyour/qinglong.git" ${current_branch}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user