Skip to content

Commit 60fa088

Browse files
committed
Fail release script on errors
1 parent 7ffa5de commit 60fa088

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# the License.
1414
#
1515

16+
set -e
17+
1618
function increment() {
1719
local version=$1
1820
result=`echo ${version} | awk -F. -v OFS=. 'NF==1{print ++$NF}; NF>1{if(length($NF+1)>length($NF))$(NF-1)++; $NF=sprintf("%0*d", length($NF), ($NF+1)%(10^length($NF))); print}'`

0 commit comments

Comments
 (0)