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