mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-07 07:56:23 +00:00
Check NPM & gulp installations in release script
This commit is contained in:
parent
3b35b5e9bf
commit
adb9db12f4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user