feat: init build release

This commit is contained in:
simonzhangsz committed 2024-12-12 18:10:43 +08:00
1 parent 4f075ae506
commit 60a8af09be
43 files changed
+1048 -1

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# !/bin/bash
systemctl daemon-reload
if systemctl list-units --type=service --all | grep -q 'restagent.service'; then
echo -n "Stopping WFC service ... "
systemctl stop restagent.service
echo "done"
fi
FERootDir=/usr/local/omc/htdocs/front
# apt-get install zip
# clear front-end old hash js files
rm -rf ${FERootDir}/assets
rm -rf ${FERootDir}/js
rm -rf ${FERootDir}/index.*.js