1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 08:23:00 +00:00

Check NPM & gulp installations in release script

This commit is contained in:
Loïc Blot
2018-12-12 12:08:42 +01:00
parent 3b35b5e9bf
commit adb9db12f4
+3
View File
@@ -12,6 +12,9 @@ SRC_DIR=`dirname $0`"/.."
RELEASE_VERSION=${1}
echo "Release version set to ${RELEASE_VERSION}"
which npm > /dev/null
which gulp > /dev/null
sed -ri 's/(.*)<version>(.+)<\/version>/\1<version>'${RELEASE_VERSION}'<\/version>/g' ${SRC_DIR}/appinfo/info.xml
npm install
gulp uglify