mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-21 19:41:28 +00:00
proper ERR trap
This commit is contained in:
parent
83fe55b86e
commit
2f9903599d
|
@ -28,8 +28,10 @@ steps:
|
|||
#! /usr/bin/env bash
|
||||
|
||||
set -o allexport
|
||||
set -o errtrace
|
||||
set -o pipefail
|
||||
set -o errexit
|
||||
shopt -s inherit_errexit
|
||||
trap 'echo \$LINENO: \"\$BASH_COMMAND\"; exit 1' ERR
|
||||
|
||||
API_TOKEN="$USER_PASS"
|
||||
CONFIG_URL=https://git.selfprivacy.org/api/v1/repos/SelfPrivacy/selfprivacy-nixos-template/archive/0f886d76e93dd366db7c53a8f6b672702910b99b.tar.gz
|
||||
|
|
Loading…
Reference in a new issue