From e36de991600e4188d32ae106f406bff32be974f9 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Mon, 27 Feb 2023 11:30:42 +0100 Subject: [PATCH] fix: version for older npm --- .github/update_own_version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/update_own_version.sh b/.github/update_own_version.sh index 3fb04d89b2..f165dd65bc 100755 --- a/.github/update_own_version.sh +++ b/.github/update_own_version.sh @@ -2,7 +2,7 @@ set -e -CURRENT_VERSION=$(npm pkg get version) +CURRENT_VERSION=$(node -p "require('./package.json').version") echo $CURRENT_VERSION if [[ $CURRENT_VERSION == *beta* ]]; then