fix: 打包前还原变更
This commit is contained in:
1 parent
ffe9c4c498
commit
b165562c2a
4 files changed
+36
-24
No files matched your search
+10
-7
@@ -36,6 +36,14 @@ while [[ $# -gt 0 ]]; do
|
||||
esac
|
||||
done
|
||||
|
||||
# =================== build branch
|
||||
echo
|
||||
cd $BuildDir
|
||||
git checkout .
|
||||
git pull
|
||||
git checkout $BuildBranch
|
||||
git pull
|
||||
|
||||
# =================== Web
|
||||
echo
|
||||
# Determine if --web is passed in
|
||||
@@ -107,14 +115,9 @@ fi
|
||||
|
||||
# =================== deb/rpm
|
||||
echo
|
||||
cd $BuildDir
|
||||
git checkout .
|
||||
git pull
|
||||
git checkout $BuildBranch
|
||||
git pull
|
||||
bash $BuildDir/build.sh -v $VERSION
|
||||
|
||||
# Compile the front-end and back-end and then package the version
|
||||
# bash pkg-en.sh --web --api -v 2.2503.2
|
||||
# bash pkg-remove-chinese.sh --web --api -v 2.2503.2
|
||||
# Packaged version of just the last compiled file/build directory
|
||||
# bash pkg-en.sh -v 2.2503.2
|
||||
# bash pkg-remove-chinese.sh -v 2.2503.2
|
||||
Reference in new issue
Block a user