Skip to content

Commit c07c060

Browse files
author
Luke Barnard
committed
Fix jq command to use [] instead of ."matrix-js-sdk"
Because otherwise there might be a syntax error looking like ``` error: syntax error, unexpected QQSTRING_START, expecting IDENT .dependencies."matrix-js-sdk" ```
1 parent cc85181 commit c07c060

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎release.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cd `dirname $0`
1111

1212
for i in matrix-js-sdk matrix-react-sdk
1313
do
14-
depver=`cat package.json | jq -r .dependencies.\"$i\"`
14+
depver=`cat package.json | jq -r .dependencies[\"$i\"]`
1515
latestver=`npm show $i version`
1616
if [ "$depver" != "$latestver" ]
1717
then

0 commit comments

Comments
 (0)