mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 12:58:53 +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
|
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 a new issue