Skip to content

Commit c757ff0

Browse files
authored
⚡ Stop baremetal_script on any error (#102)
1 parent 67fa507 commit c757ff0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/baremetal_package.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
# # Just change architecture list
1010
# ./baremetal_package.sh --arch-list cortex-m0,cortex-m1,cortex-m3
1111

12+
# Exit script on any error
13+
set -e
14+
1215
# Default values
1316
DIR="."
1417
VERSION="latest"

0 commit comments

Comments
 (0)