You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Fix release.sh check_dependency
This commit is contained in:
@@ -70,8 +70,10 @@ if [ $# -ne 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
function check_dependency {
|
function check_dependency {
|
||||||
echo "Checking version of $1..."
|
|
||||||
local depver=$(cat package.json | jq -r .dependencies[\"$1\"])
|
local depver=$(cat package.json | jq -r .dependencies[\"$1\"])
|
||||||
|
if [ "$depver" == "null" ]; then return 0; fi
|
||||||
|
|
||||||
|
echo "Checking version of $1..."
|
||||||
local latestver=$(yarn info -s "$1" dist-tags.next)
|
local latestver=$(yarn info -s "$1" dist-tags.next)
|
||||||
if [ "$depver" != "$latestver" ]
|
if [ "$depver" != "$latestver" ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user