+ Delete the *.js.map file when packaging.

This commit is contained in:
hufangzhou
2023-06-09 16:56:56 +08:00
parent ac9ee8da0a
commit 2ad2d93a2d
+3
View File
@@ -254,6 +254,8 @@ enrpm:
rpmbuild -ba ~/rpmbuild/SPECS/zentaopms.spec
cp ~/rpmbuild/RPMS/noarch/zentaoalm-${VERSION}-1.noarch.rpm ./
rm -rf ~/rpmbuild
rmJsMap:
find zentaopms/ -name "*.js.map" -delete
ciCommon:
make clean
git pull
@@ -266,6 +268,7 @@ ciCommon:
endif
make package
make rmJsMap
zip -rq -9 ZenTaoPMS.$(VERSION).zip zentaopms
# en
cd zentaopms/; grep -rl 'zentao.net'|xargs sed -i 's/zentao.net/zentao.pm/g';