feat: 更新前端版本号

This commit is contained in:
TsMask committed 2025-08-15 18:44:03 +08:00
1 parent 9036324202
commit 2f6ad6cac0
2 files changed
+6

No files matched your search

+3
View File
@@ -55,6 +55,9 @@ if [ -n "$BuildWeb" ]; then
git checkout $WebBranch
git pull
sed -i "s/VITE_APP_VERSION = .*/VITE_APP_VERSION = \"${VERSION}\"/g" $WebDir/.env.development
sed -i "s/VITE_APP_VERSION = .*/VITE_APP_VERSION = \"${VERSION}\"/g" $WebDir/.env.production
# RemoveChinese
rm -rf ./public/alarmHelp/zh
rm -rf ./public/nbStateImput/zh.xlsx
+3
View File
@@ -56,6 +56,9 @@ if [ -n "$BuildWeb" ]; then
git checkout $WebBranch
git pull
sed -i "s/VITE_APP_VERSION = .*/VITE_APP_VERSION = \"${VERSION}\"/g" $WebDir/.env.development
sed -i "s/VITE_APP_VERSION = .*/VITE_APP_VERSION = \"${VERSION}\"/g" $WebDir/.env.production
# remote replication
#scpDir=/root/omc.git/fe.ems.vue3
#scp -r -P 18422 root@192.168.9.58:$scpDir/dist $WebDir/