aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/do_release.sh
blob: ddf0eae6e69f191b111c88370d67c9b089facf20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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
find . -type d -name ".webassets-cache" -exec rm -rf "{}" \; || true
zip -r ../app.zip .
popd