Browse Source

ci(fix): 修改构建脚本

pull/4287/head
ibuler 4 years ago committed by BaiJiangJie
parent
commit
c0cd8878dc
  1. 2
      utils/build.sh

2
utils/build.sh

@ -16,7 +16,7 @@ if [[ -d '.git' ]];then
git archive --format tar HEAD | tar x -C "${to_dir}" git archive --format tar HEAD | tar x -C "${to_dir}"
else else
cp -R . /tmp/jumpserver cp -R . /tmp/jumpserver
mv -R /tmp/jumpserver/* "${to_dir}" mv /tmp/jumpserver/* "${to_dir}"
fi fi
if [[ $(uname) == 'Darwin' ]];then if [[ $(uname) == 'Darwin' ]];then

Loading…
Cancel
Save