osmo-release.sh: Use set -e before applying changes to prepare release

Change-Id: I783c3645537258a75ae6f5a684489d629b852188
This commit is contained in:
Pau Espin 2019-12-03 17:35:02 +01:00
parent 797d533072
commit 24277b4db5
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ if [ "z$DRY_RUN" != "z0" ]; then
exit 0 exit 0
fi fi
set -e
if [ -f "TODO-RELEASE" ]; then if [ -f "TODO-RELEASE" ]; then
grep '#' TODO-RELEASE > TODO-RELEASE.clean grep '#' TODO-RELEASE > TODO-RELEASE.clean
mv TODO-RELEASE.clean TODO-RELEASE mv TODO-RELEASE.clean TODO-RELEASE