Error exiting in case already on next_stable.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/6374ce0b Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/6374ce0b Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/6374ce0b Branch: refs/heads/next_stable Commit: 6374ce0b365881573169cf1463ff217bb12c9bf1 Parents: 6aeb38c Author: Thorsten Schöning <[email protected]> Authored: Wed Aug 16 10:34:13 2017 +0200 Committer: Thorsten Schöning <[email protected]> Committed: Wed Aug 16 10:34:13 2017 +0200 ---------------------------------------------------------------------- releasePrepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/6374ce0b/releasePrepare.sh ---------------------------------------------------------------------- diff --git a/releasePrepare.sh b/releasePrepare.sh index ea9f789..bdd2a89 100755 --- a/releasePrepare.sh +++ b/releasePrepare.sh @@ -53,7 +53,7 @@ fi #mvn clean || exit 1 #mvn release:prepare -Dresume=false || exit 1 -if [ -z "${branch_starting_is_ns}" ] +if [ -n "${branch_starting_is_ns}" ] then git checkout "${branch_starting}" new_release_cycle=$(grep 'date="XXXX-XX-XX"' "src/changes/changes.xml")
