aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/do_release.sh
blob: e4d7e3a3a6bcf22a8ead9adf0e36dabc5582cedd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

set -xuo pipefail

command -v zip || exit 1

rm -f app.zip

pushd app
find . -type d -name "__pycache__" -exec rm -rf "{}" \;
find . -type d -name ".webassets-cache" -exec rm -rf "{}" \;
zip -r ../app.zip .
popd