1
0

style: 更新默认分支和使用说明

This commit is contained in:
TsMask
2025-08-07 16:03:11 +08:00
parent 1aa84000fe
commit 4aa0c545a1
4 changed files with 19 additions and 14 deletions

View File

@@ -20,13 +20,18 @@ node.js: v20.18.0 (or above)
git clone https://xxx@git/ems.git omc.git
cd omc.git && ls
# be.ems build.ems fe.ems.vue3
cp build.ems/pkg-* .
```
### Build System Pageage Manager
Modify the information in the script as appropriate
```bash
# Universal
bash pkg.sh --web --api -v 2.2503.2
bash pkg.sh --web --api -v 2.2508.1
# RemoveChinese
bash pkg-remove-chinese.sh --web --api -v 2.2503.2
bash pkg-remove-chinese.sh --web --api -v 2.2508.1
# Docker
bash pkg-docker.sh -v 2.2508.1
```

View File

@@ -2,16 +2,16 @@
# front-end Catalog
WebDir=/root/omc.git/fe.ems.vue3
WebBranch=lichang
WebBranch=main-v2
# back-end catalog
ApiDir=/root/omc.git/be.ems
ApiBranch=lichang
ApiBranch=main-v2
# Package Catalog
BuildDir=/root/omc.git/build.ems
BuildBranch=lichang
BuildBranch=main-v2
BuildTmpDir=/root/omc.git/build.ems/tmp
# Default Version Value
VERSION="2.2505.2"
VERSION="2.2508.1"
# usage
usage() {

View File

@@ -2,17 +2,17 @@
# front-end Catalog
WebDir=/root/omc.git/fe.ems.vue3
WebBranch=lichang
WebBranch=main-v2
BuildWeb=""
# back-end catalog
ApiDir=/root/omc.git/be.ems
ApiBranch=lichang
ApiBranch=main-v2
BuildApi=""
# Package Catalog
BuildDir=/root/omc.git/build.ems
BuildBranch=lichang
BuildBranch=main-v2
# Default Version Value
VERSION="2.2505.2"
VERSION="2.2508.1"
# usage
usage() {

8
pkg.sh
View File

@@ -2,17 +2,17 @@
# front-end Catalog
WebDir=/root/omc.git/fe.ems.vue3
WebBranch=lichang
WebBranch=main-v2
BuildWeb=""
# back-end Catalog
ApiDir=/root/omc.git/be.ems
ApiBranch=lichang
ApiBranch=main-v2
BuildApi=""
# Package Catalog
BuildDir=/root/omc.git/build.ems
BuildBranch=lichang
BuildBranch=main-v2
# Default Version Value
VERSION="2.2505.2"
VERSION="2.2508.1"
# usage
usage() {