File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 33
44PCK_VERSION=$( cat package.json | jq ' .version' )
55LOCK_VERSION=$( cat package-lock.json | jq ' .version' )
6+ BOWER_VERSION=$( cat bower.json | jq ' .version' )
67SCRIPT_VERSION=\" $( sed -n 3p SendBirdCall.min.js | awk ' {print $6}' | awk -F v ' {print $2}' ) \"
78SCRIPT_ENV=$( sed -n 3p SendBirdCall.min.js | awk ' {print $7}' )
89
9- if [[ ! (( $PCK_VERSION == $LOCK_VERSION ) && ($PCK_VERSION == $SCRIPT_VERSION )) ]]
10+ if [[ ! (( $PCK_VERSION == $LOCK_VERSION ) && ($PCK_VERSION == $SCRIPT_VERSION ) && ( $PCK_VERSION == $BOWER_VERSION ) ) ]]
1011then
1112echo -e " \033[0;31m\
12- Error: Version in package.json, package-lock.json and SendBirdCall.min.js does not match\
13+ Error: Version in package.json, package-lock.json, bower.json and SendBirdCall.min.js does not match\
1314\033[0m"
1415
1516exit 1
You can’t perform that action at this time.
0 commit comments