1
0
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:
RiotRobot
2022-09-13 12:26:03 +01:00
parent a8fd0f3d13
commit a1d0f037e2

View File

@@ -70,8 +70,10 @@ if [ $# -ne 1 ]; then
fi
function check_dependency {
echo "Checking version of $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)
if [ "$depver" != "$latestver" ]
then