File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,6 @@ elif [[ ! ($VERSION == "patch" || $VERSION == "minor" || $VERSION == "major") ]]
22
22
exit 1
23
23
fi
24
24
25
- cd firebase-vscode
26
- echo " Running npm install for VSCode..."
27
- npm install
28
- echo " Ran npm install for VSCode."
29
-
30
25
echo " Making a $VERSION version of VSCode..."
31
26
npm version $VERSION
32
27
NEW_VSCODE_VERSION=$( jq -r " .version" package.json)
@@ -35,6 +30,11 @@ NEW_HEADER="## NEXT \n\n## $NEW_VSCODE_VERSION\n\n- Updated internal firebase-to
35
30
sed -i -e " s/$NEXT_HEADER /$NEW_HEADER /g" CHANGELOG.md
36
31
echo " Made a $VERSION version of VSCode."
37
32
33
+ cd firebase-vscode
34
+ echo " Running npm install for VSCode..."
35
+ npm install
36
+ echo " Ran npm install for VSCode."
37
+
38
38
echo " Building firebase-vscode .VSIX file"
39
39
npm run pkg
40
40
echo " Built firebase-vscode .VSIX file."
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ trap "echo 'Missing gsutil.'; exit 1" ERR
56
56
which gstuil & > /dev/null
57
57
trap - ERR
58
58
echo " Checked for commands."
59
- echo " Checked for commands."
60
59
61
60
echo " Checking for logged-in npm user..."
62
61
trap " echo 'Please login to npm using \` npm login --registry https://wombat-dressing-room.appspot.com\` '; exit 1" ERR
@@ -114,7 +113,7 @@ echo "Published to npm."
114
113
echo " Cleaning up release notes..."
115
114
rm CHANGELOG.md
116
115
touch CHANGELOG.md
117
- git commit -m " [firebase-release] Removed change log and reset repo after ${NEW_VERSION} release" CHANGELOG.md firebase-vscode/CHANGELOG.md
116
+ git commit -m " [firebase-release] Removed change log and reset repo after ${NEW_VERSION} release" CHANGELOG.md firebase-vscode/CHANGELOG.md firebase-vscode/package.json firebase-vscode/package-lock.json
118
117
echo " Cleaned up release notes."
119
118
120
119
echo " Pushing to GitHub..."
You can’t perform that action at this time.
0 commit comments