Check the `next` tag when looking for the latest version

pull/12374/head
J. Ryan Stinnett 2020-02-14 11:04:39 +00:00
parent 08c149ed66
commit aa95dcc0cb
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ cd `dirname $0`
for i in matrix-js-sdk matrix-react-sdk
do
depver=`cat package.json | jq -r .dependencies[\"$i\"]`
latestver=`yarn info -s $i version`
latestver=`yarn info -s $i dist-tags.next`
if [ "$depver" != "$latestver" ]
then
echo "The latest version of $i is $latestver but package.json depends on $depver"