summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-08-25 13:08:44 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2014-08-25 13:08:44 +0200
commit90227f6df1be13d70a87c5fa2a9cf86042dd3e0f (patch)
treefd6eff4da1e055503271b66ba7f3cb61a20e0442
parent4726c4e347f86487a41f5a0468bdb3e9a2d1b406 (diff)
release.sh: Exit if we fail some git commands
-rwxr-xr-xrelease.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/release.sh b/release.sh
index ec7a0d5..3191052 100755
--- a/release.sh
+++ b/release.sh
@@ -40,9 +40,9 @@ do_package_and_upload()
40 ../release-management/generate_news.py v$OLD_VERSION..HEAD >> NEWS || exit 1 40 ../release-management/generate_news.py v$OLD_VERSION..HEAD >> NEWS || exit 1
41 git diff 41 git diff
42 $EDITOR NEWS || exit 1 42 $EDITOR NEWS || exit 1
43 git diff 43 git diff || exit 1
44 git commit -v configure.ac NEWS -m "release: Update NEWS and bump version for $VERSION$PRE_RELEASE_STRING release" || exit 1 44 git commit -v configure.ac NEWS -m "release: Update NEWS and bump version for $VERSION$PRE_RELEASE_STRING release" || exit 1
45 git show 45 git show || exit 1
46 ./autogen.sh || exit 1 46 ./autogen.sh || exit 1
47 make "$MAKEFLAGS" || exit 1 47 make "$MAKEFLAGS" || exit 1
48 # Elm needs the newest efl installed 48 # Elm needs the newest efl installed