File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ cat <<- EEOOFF
172172 h Display this message (default)
173173 f Force push to new repo branch (e.g., bump-v3.7.0)
174174 p Publish to npm from latest repo clone
175- s Skip repo setup (e.g., to rebuild previously created repo)
175+ s Skip new clone, clean, and install to rebuild previously created repo -- not valid with -p
176176 v The version number (e.g., 3.7.0) -- not valid with -p
177177
178178EEOOFF
@@ -222,19 +222,25 @@ verify()
222222
223223 prereqs
224224
225- if [ -z " $SETUP " ]; then
226- setup_repo
227- fi
228-
229225 if [ -z " $PUBLISH " ]; then
226+ if [ -z " $SETUP " ]; then
227+ setup_repo
228+ fi
229+
230230 bump_bower
231231 bump_package
232- clean
233- install
232+
233+ if [ -z " $SETUP " ]; then
234+ clean
235+ install
236+ fi
237+
234238 build
235239 shrinkwrap
236240 verify
237241 else
242+ # Publish from the latest repo clone -- don't skip setup or clean.
243+ setup_repo
238244 clean
239245 install
240246 build
You can’t perform that action at this time.
0 commit comments