Skip to content

Commit 9b3d0b4

Browse files
authored
Use set -e to catch errors in all scripts (#2347)
1 parent af1528d commit 9b3d0b4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

exporter/opentelemetry-exporter-prometheus-remote-write/proto/generate-proto-py.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
23

34
PROM_VERSION=v2.39.0
45
PROTO_VERSION=v1.3.2

scripts/prepare_release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
#
2+
set -e
3+
34
# This script:
45
# 1. parses the version number from the branch name
56
# 2. updates version.py files to match that version

0 commit comments

Comments
 (0)