aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/mail.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-10 22:21:38 -0300
committerEuAndreh <eu@euandre.org>2019-06-10 23:26:02 -0300
commit217d2863709ebbe1ed766a360edb228e8899fc68 (patch)
tree098d505648c380bd3af6430d9e222c621f776f5f /scripts/ci/mail.sh
parentTODOs.org (diff)
downloadtoph-217d2863709ebbe1ed766a360edb228e8899fc68.tar.gz
toph-217d2863709ebbe1ed766a360edb228e8899fc68.tar.xz
Output all generated files on ./generated/, refactor .envrc variables
Diffstat (limited to 'scripts/ci/mail.sh')
-rwxr-xr-xscripts/ci/mail.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/ci/mail.sh b/scripts/ci/mail.sh
index 7058233..29420fa 100755
--- a/scripts/ci/mail.sh
+++ b/scripts/ci/mail.sh
@@ -3,14 +3,7 @@ set -Eeuo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
cd ../../
-VPS_COMMIT_SHA="${1:-}"
-EXIT_CODE="${2:-}"
-
-[[ -z "${VPS_COMMIT_SHA}" ]] && {
- # shellcheck disable=SC2016
- echo 'Error: missing $VPS_COMMIT_SHA positional argument.'
- exit 2
-}
+EXIT_CODE="${1:-}"
[[ -z "${EXIT_CODE}" ]] && {
# shellcheck disable=SC2016