Check the `next` tag when looking for the latest version
This commit is contained in:
parent
08c149ed66
commit
aa95dcc0cb
|
@ -21,7 +21,7 @@ cd `dirname $0`
|
||||||
for i in matrix-js-sdk matrix-react-sdk
|
for i in matrix-js-sdk matrix-react-sdk
|
||||||
do
|
do
|
||||||
depver=`cat package.json | jq -r .dependencies[\"$i\"]`
|
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" ]
|
if [ "$depver" != "$latestver" ]
|
||||||
then
|
then
|
||||||
echo "The latest version of $i is $latestver but package.json depends on $depver"
|
echo "The latest version of $i is $latestver but package.json depends on $depver"
|
||||||
|
|
Loading…
Reference in New Issue