Skip to content

Commit 3b13ffe

Browse files
committed
build-and-test.sh - fail entire script if one command fails.
Helps to prevent (almost) silent errors frustrating test and deployment efforts.
1 parent 92d2959 commit 3b13ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-and-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
2+
set -e
33
VERSION=$(cat VERSION)
44

55
docker build . -t developmentseed/geolambda:${VERSION}

0 commit comments

Comments
 (0)