mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 18:55:58 +03:00
Check the next
tag when looking for the latest version
This commit is contained in:
parent
08c149ed66
commit
aa95dcc0cb
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue