1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 07:56:23 +00:00

Add minify to release script

This commit is contained in:
Loic Blot 2018-06-28 17:04:54 +02:00
parent 0583f25b88
commit ea47adbbbe
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987

View File

@ -13,6 +13,7 @@ RELEASE_VERSION=${1}
echo "Release version set to ${RELEASE_VERSION}"
sed -ri 's/(.*)<version>(.+)<\/version>/\1<version>'${RELEASE_VERSION}'<\/version>/g' ${SRC_DIR}/appinfo/info.xml
uglifyjs js/devel/*.js > js/app.min.js
git commit -am "Release "${RELEASE_VERSION}
git tag ${RELEASE_VERSION}
git push