Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ocsms.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-06-28 18:04:54 +0300
committerLoic Blot <loic.blot@unix-experience.fr>2018-06-28 18:04:54 +0300
commitea47adbbbe33e17f5d2e62de3f67456175a7e00a (patch)
tree254ef2e5f6b52b9004b176dec563fb851583a508 /.ci
parent0583f25b8898b5d0c28a9d21feae995eefd503e1 (diff)
Add minify to release script
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/release_app.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/.ci/release_app.sh b/.ci/release_app.sh
index 7cd50ea..d09e29f 100755
--- a/.ci/release_app.sh
+++ b/.ci/release_app.sh
@@ -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