From ccc2449f76c40958c0eeb0955f4e538b7dec0978 Mon Sep 17 00:00:00 2001 From: joehan Date: Thu, 6 Jun 2024 17:20:52 -0400 Subject: [PATCH] CD before npm version (#7286) --- scripts/publish-vsce.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/publish-vsce.sh b/scripts/publish-vsce.sh index a11d312710e..ab6a20e3ee3 100755 --- a/scripts/publish-vsce.sh +++ b/scripts/publish-vsce.sh @@ -22,6 +22,8 @@ elif [[ ! ($VERSION == "patch" || $VERSION == "minor" || $VERSION == "major") ]] exit 1 fi +cd firebase-vscode + echo "Making a $VERSION version of VSCode..." npm version $VERSION NEW_VSCODE_VERSION=$(jq -r ".version" package.json) @@ -30,7 +32,6 @@ NEW_HEADER="## NEXT \n\n## $NEW_VSCODE_VERSION\n\n- Updated internal firebase-to sed -i -e "s/$NEXT_HEADER/$NEW_HEADER/g" CHANGELOG.md echo "Made a $VERSION version of VSCode." -cd firebase-vscode echo "Running npm install for VSCode..." npm install echo "Ran npm install for VSCode."