From aa95dcc0cb90855dd6d82efb73975fae0d95c2dc Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 14 Feb 2020 11:04:39 +0000 Subject: [PATCH] Check the `next` tag when looking for the latest version --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 33b3676f..d53ea5e8 100755 --- a/release.sh +++ b/release.sh @@ -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"