Skip to content

Commit 1dbbf11

Browse files
committed
fail scripts
1 parent cd1ba23 commit 1dbbf11

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e -o pipefail
23

34
# Fetch the current version from the POM
45
MVN_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)

ui/spt-ui-lib/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# Exit immediately on error
4-
set -e
4+
set -e -o pipefail
55

66
# Check if version argument is provided
77
if [ -z "$1" ]; then

0 commit comments

Comments
 (0)