aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/do_release.sh
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2022-11-08 08:20:33 +0100
committerPeter Mikus <peter.mikus@protonmail.ch>2022-11-09 08:45:29 +0000
commit6034d72d01c76060e0f0804fd80e6b1308886cd3 (patch)
treeabff3c47f48f39991a0add88009290ef20f60f4d /csit.infra.dash/do_release.sh
parent7a1d31543b8424bb67b4d610bd9c8e17a58fd0f4 (diff)
feat(dash): CI scripts
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ifb8695f4541344b180c23f2b69ae478c83605263
Diffstat (limited to 'csit.infra.dash/do_release.sh')
-rwxr-xr-xcsit.infra.dash/do_release.sh12
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