Skip to content

Commit

Permalink
set -euf -o pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed Jan 5, 2018
1 parent f7702d6 commit bf9a97f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xyz
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -euf -o pipefail

usage="
Usage: xyz [options]
Expand Down Expand Up @@ -220,7 +220,7 @@ run npm prune
run npm test

for script in "${scripts[@]}" ; do
[[ $script == /* ]] || script="$(pwd)/$script"
[[ $script =~ ^/ ]] || script="$(pwd)/$script"
run env VERSION="$next_version" PREVIOUS_VERSION="$version" "$script"
done

Expand Down

0 comments on commit bf9a97f

Please sign in to comment.