From 36786ec8cc332cde63fbf06381d5435ca440d08a Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Wed, 3 Aug 2022 16:36:49 +0100 Subject: [PATCH] Why is this not working --- resources/version.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/version.sh b/resources/version.sh index 5b029334..5134c908 100755 --- a/resources/version.sh +++ b/resources/version.sh @@ -17,6 +17,9 @@ fi echo "Version: $NEW_VERSION" echo "Current version: $CURRENT_VERSION" if [[ $COMMITSINCESTABLE -gt 0 ]]; then + ls + echo "THE COMMAND THAT IS RUNNING IS:" + echo "sed -i "0,/$CURRENT_VERSION/s//$NEW_VERSION/" package.json" sed -i "0,/$CURRENT_VERSION/s//$NEW_VERSION/" package.json else echo "Version unchanged, commits since stable is ${COMMITSINCESTABLE}"