From e9bb3fbb682e3bf8b625773575756039c718839f Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Sat, 20 Sep 2014 14:42:31 +0200 Subject: [PATCH] [Project] creating release script --- release.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/release.sh b/release.sh index 65417d934..fcfbf06ab 100755 --- a/release.sh +++ b/release.sh @@ -109,9 +109,6 @@ if ! git submodule foreach git status --short ; then fail fi -echo "Do you want to carry on?" -read - if ! git submodule foreach git add . ; then fail fi @@ -135,19 +132,19 @@ if ! git tag ${new_version} ; then fail fi -if ! git submodule foreach git checkout ${branch} +if ! git submodule foreach git checkout ${branch} ; then fail fi if [ -n "${create_release_branch}" ] ; then - if ! git submodule foreach git branch -D ${release_branch} + if ! git submodule foreach git branch -D ${release_branch} ; then fail fi fi -if ! git checkout ${branch} +if ! git checkout ${branch} ; then fail fi if [ -n "${create_release_branch}" ] ; then - if ! git branch -D ${release_branch} + if ! git branch -D ${release_branch} ; then fail fi fi