Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
C-Dash: Change the year in the copyright message.
[csit.git]
/
csit.infra.dash
/
do_release.sh
diff --git
a/csit.infra.dash/do_release.sh
b/csit.infra.dash/do_release.sh
index
d4e935b
..
e4d7e3a
100755
(executable)
--- a/
csit.infra.dash/do_release.sh
+++ b/
csit.infra.dash/do_release.sh
@@
-1,12
+1,13
@@
#!/usr/bin/env bash
#!/usr/bin/env bash
-set -
e
xuo pipefail
+set -xuo pipefail
command -v zip || exit 1
rm -f app.zip
pushd app
command -v zip || exit 1
rm -f app.zip
pushd app
-find . -type d -name "__pycache__" -exec rm -rf "{}" \; || true
+find . -type d -name "__pycache__" -exec rm -rf "{}" \;
+find . -type d -name ".webassets-cache" -exec rm -rf "{}" \;
zip -r ../app.zip .
popd
zip -r ../app.zip .
popd