From f7135433be1f53e57ce276c04204c93820c2a378 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Wed, 16 Feb 2022 14:10:43 +0100 Subject: [PATCH] chore(relup-base-vsns.sh): rename PROFILE to EDITION to avoid confusion with rebar profile --- scripts/relup-base-vsns.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/relup-base-vsns.sh b/scripts/relup-base-vsns.sh index 3a2062387..8f391b01b 100755 --- a/scripts/relup-base-vsns.sh +++ b/scripts/relup-base-vsns.sh @@ -20,8 +20,8 @@ parse_semver() { echo "$1" | tr '.|-' ' ' } -PROFILE="${1:-}" -[ -z "${PROFILE}" ] && usage +EDITION="${1:-}" +[ -z "${EDITION}" ] && usage ## Get the current release version ## e.g. @@ -49,7 +49,7 @@ else IS_RELEASE=false fi -case "${PROFILE}" in +case "${EDITION}" in *enterprise*) GIT_TAG_PREFIX="e" ;;