Skip to content

Commit 9b3d0b4

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

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: exporter/opentelemetry-exporter-prometheus-remote-write/proto/generate-proto-py.sh

+1
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

Diff for: scripts/prepare_release.sh

+2-1
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)