fix: 打包前还原变更
This commit is contained in:
@@ -32,6 +32,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
|
||||
@@ -48,12 +56,7 @@ fi
|
||||
|
||||
# =================== deb/rpm
|
||||
echo
|
||||
cd $BuildDir
|
||||
git checkout .
|
||||
git pull
|
||||
git checkout $BuildBranch
|
||||
git pull
|
||||
bash $BuildDir/pkg.sh --api -apiBranch $ApiBranch -v $VERSION
|
||||
|
||||
# bash pkg-front.sh --web -v 2.2503.2
|
||||
# bash pkg-front.sh -v 2.2503.2
|
||||
# bash pkg-copy-front.sh --web -v 2.2503.2
|
||||
# bash pkg-copy-front.sh -v 2.2503.2
|
||||
|
||||
Reference in New Issue
Block a user