From 291cb5c1ffb18e4177dc3cb5b95578f49b9054f1 Mon Sep 17 00:00:00 2001 From: Core Date: Tue, 23 Aug 2022 11:35:16 +0100 Subject: [PATCH] less debug because no --- resources/version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/version.sh b/resources/version.sh index fa6234a8..81bcaa0c 100755 --- a/resources/version.sh +++ b/resources/version.sh @@ -23,9 +23,9 @@ if [[ ($CIRCLE_BRANCH == "main" || $GITHUB_REF_NAME == "main") && $COMMIT_SINCE_ else sed -i "0,/$CURRENT_VERSION/s//$NEW_VERSION/" package.json fi - echo "Version updated to v${NEW_VERSION}" + echo $NEW_VERSION else - echo "Not on main branch or no commits since stable. Skipping version update." + echo $CURRENT_VERSION fi # Add the version to the environment for CI usage