diff --git a/build/release.sh b/build/release.sh index d15e8761e..d2543e25e 100755 --- a/build/release.sh +++ b/build/release.sh @@ -253,7 +253,7 @@ if ! push_new_release; then reset_to_previous_version || return 1 # Reset to upstream/master for major/minor releases - else if ! reset_to_master; then + elif ! reset_to_master; then echo "----------------------------------------------------------------------" echo "Error while cleaning workspace!" echo "----------------------------------------------------------------------"