fix: Docker打包脚本
This commit is contained in:
@@ -8,6 +8,7 @@ BuildWeb=""
|
||||
ApiBranch=main
|
||||
# Package Catalog
|
||||
BuildDir=/root/omc.git/build.ems
|
||||
BuildBranch=main
|
||||
# Default Version Value
|
||||
VERSION="2.2503.2"
|
||||
|
||||
@@ -47,6 +48,11 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user