1
0

fix: Docker打包脚本

This commit is contained in:
TsMask
2025-05-15 15:55:57 +08:00
parent 04eb36e899
commit 0f7ff2aca7
6 changed files with 30 additions and 8 deletions

6
pkg.sh
View File

@@ -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