From 28281ae4d481ff9f6a08c44bbc3adafaec834c18 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 31 Mar 2017 17:08:03 -0600 Subject: [PATCH] fix: properly detect release builds --- contrib/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/release b/contrib/release index 30ab7b50e..9431d8a45 100755 --- a/contrib/release +++ b/contrib/release @@ -82,7 +82,7 @@ fn-in-array() { fn-is-release() { declare desc="Checks if a given run is a release run" - declare RELEASE="$2" + declare RELEASE="$1" local IS_RELEASE=false if [[ "$RELEASE" == "major" ]] || [[ "$RELEASE" == "minor" ]] || [[ "$RELEASE" == "patch" ]]; then IS_RELEASE=true