aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/do-release.sh
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2022-10-28 12:50:03 +0000
committerpmikus <peter.mikus@protonmail.ch>2022-10-28 12:50:03 +0000
commit9f0fc4238d5232d4772400353e4f1857c6f30957 (patch)
treeef112e037cc4ac5323c1e411f90787c06e0c196b /csit.infra.dash/do-release.sh
parentdf196b8412ae5eafacdcdbc725c19838aa554944 (diff)
feat(cdash): do-release
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I8ecb3d71282b76f9fa5e570c3aa0272b1886ac53
Diffstat (limited to 'csit.infra.dash/do-release.sh')
-rwxr-xr-xcsit.infra.dash/do-release.sh11
1 files changed, 11 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..7589fc83d7
--- /dev/null
+++ b/csit.infra.dash/do-release.sh
@@ -0,0 +1,11 @@
+#!/bin/env bash
+
+set -exuo pipefail
+
+command -v zip || exit 1
+
+rm -f app.zip
+
+pushd app
+zip -r ../app.zip .
+popd