style: 更新默认分支和使用说明
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
8
pkg.sh
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user