Skip to content

Commit ed2111a

Browse files
committed
Modified -s switch to skip new clone, clean, and install to rebuild existing repo.
1 parent f1d3f96 commit ed2111a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

scripts/release.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ cat <<- EEOOFF
146146
OPTIONS:
147147
h Display this message (default)
148148
f Force push to new repo branch (e.g., bump-v3.7.0)
149-
s Skip repo setup (e.g., to rebuild previously created repo)
149+
s Skip new clone, clean, and install to rebuild previously created repo
150150
v The version number (e.g., 3.7.0)
151151
152152
EEOOFF
@@ -197,8 +197,12 @@ verify()
197197

198198
bump_bower
199199
bump_package
200-
clean
201-
install
200+
201+
if [ -z "$SETUP" ]; then
202+
clean
203+
install
204+
fi
205+
202206
build
203207
verify
204208

0 commit comments

Comments
 (0)