diff options
author | pmikus <peter.mikus@protonmail.ch> | 2022-11-11 11:57:26 +0100 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2022-11-14 12:06:22 +0000 |
commit | abbc3a9aac22427a50c45adddf4307bab6d8a3ef (patch) | |
tree | 7e5f31cdd7b50fdb075d892811152e55375f05d9 /csit.infra.dash/do_release.sh | |
parent | 8cddfb3bfd02675b78f7c71cb88900ca1d6460b1 (diff) |
feat(cdash): Environement fixes
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I6bdb30c7313b909fe29e10b20bd21957433bda87
Diffstat (limited to 'csit.infra.dash/do_release.sh')
-rwxr-xr-x | csit.infra.dash/do_release.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csit.infra.dash/do_release.sh b/csit.infra.dash/do_release.sh index ddf0eae6e6..e4d7e3a3a6 100755 --- a/csit.infra.dash/do_release.sh +++ b/csit.infra.dash/do_release.sh @@ -1,13 +1,13 @@ #!/usr/bin/env bash -set -exuo pipefail +set -xuo 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 +find . -type d -name "__pycache__" -exec rm -rf "{}" \; +find . -type d -name ".webassets-cache" -exec rm -rf "{}" \; zip -r ../app.zip . popd |