summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-12-03 17:35:02 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-12-03 17:36:20 +0100
commit24277b4db52c1d48a5bb09a20eeb824f7dc98345 (patch)
tree6473e7f31e0e53dde66c0817233d090dfaecc81a
parent797d533072c37f5aff0db3b019f636ea4e6b701a (diff)
osmo-release.sh: Use set -e before applying changes to prepare release
Change-Id: I783c3645537258a75ae6f5a684489d629b852188
-rwxr-xr-xosmo-release.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/osmo-release.sh b/osmo-release.sh
index 44504360..916af849 100755
--- a/osmo-release.sh
+++ b/osmo-release.sh
@@ -162,6 +162,7 @@ if [ "z$DRY_RUN" != "z0" ]; then
exit 0
fi
+set -e
if [ -f "TODO-RELEASE" ]; then
grep '#' TODO-RELEASE > TODO-RELEASE.clean
mv TODO-RELEASE.clean TODO-RELEASE