diff options
Diffstat (limited to 'csit.infra.dash/do_release.sh')
-rwxr-xr-x | csit.infra.dash/do_release.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/csit.infra.dash/do_release.sh b/csit.infra.dash/do_release.sh new file mode 100755 index 0000000000..d4e935b420 --- /dev/null +++ b/csit.infra.dash/do_release.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -exuo pipefail + +command -v zip || exit 1 + +rm -f app.zip + +pushd app +find . -type d -name "__pycache__" -exec rm -rf "{}" \; || true +zip -r ../app.zip . +popd |