From 473035dfa9354c8d6fc07235bb3cd0145d4423a3 Mon Sep 17 00:00:00 2001 From: Joaquin Casares Date: Thu, 4 Aug 2022 19:59:35 +0000 Subject: [PATCH] grab VERSION after exiting subshell that bumped version --- libs/scripts/release.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/scripts/release.sh b/libs/scripts/release.sh index 3e07ce27377..f86e88bcf4e 100755 --- a/libs/scripts/release.sh +++ b/libs/scripts/release.sh @@ -135,4 +135,8 @@ cd ${PROTOCOL_DIR}/libs # perform release bump-npm + +# grab VERSION again since we escaped the bump-npm subshell +VERSION=$(jq -r '.version' package.json) + merge-bump && publish && info || cleanup