@@ -89,13 +89,13 @@ sed -i '' -e s/"\"version\": \".*\""/"\"version\": \"${VERSION_WITHOUT_RC}\""/ p
8989echo
9090
9191
92- # ###################################
93- # REGENERATE npm-shrinkwrap.json #
94- # ###################################
95- echo " [INFO] Removing lib/, node_modules/, and npm-shrinkwrap ..."
96- rm -rf lib/ node_modules/ npm-shrinkwrap.json
92+ # ###########################
93+ # REINSTALL DEPENDENCIES #
94+ # ###########################
95+ echo " [INFO] Removing lib/, and node_modules/ ..."
96+ rm -rf lib/ node_modules/
9797if [[ $? -ne 0 ]]; then
98- echo " Error: Failed to remove lib/, node_modules/, and npm-shrinkwrap ."
98+ echo " Error: Failed to remove lib/, and node_modules/ ."
9999 exit 1
100100fi
101101echo
@@ -108,14 +108,6 @@ if [[ $? -ne 0 ]]; then
108108fi
109109echo
110110
111- echo " [INFO] Regenerating npm-shrinkwrap.json file..."
112- npm shrinkwrap
113- if [[ $? -ne 0 ]]; then
114- echo " Error: Failed to regenerate npm-shrinkwrap.json file."
115- exit 1
116- fi
117- echo
118-
119111
120112# ###########################
121113# CREATE RELEASE TARBALL #
190182# #############
191183
192184echo " [INFO] firebase-admin-${VERSION} .tgz successfully created!"
193- echo " [INFO] Create a CL for the updated package.json and npm-shrinkwrap.json if this is an actual release."
185+ echo " [INFO] Create a CL for the updated package.json if this is an actual release."
194186echo
0 commit comments