chore(relup-base-vsns.sh): rename PROFILE to EDITION

to avoid confusion with rebar profile
This commit is contained in:
Zaiming (Stone) Shi 2022-02-16 14:10:43 +01:00
parent 149fe7bcdf
commit f7135433be
1 changed files with 3 additions and 3 deletions

View File

@ -20,8 +20,8 @@ parse_semver() {
echo "$1" | tr '.|-' ' ' echo "$1" | tr '.|-' ' '
} }
PROFILE="${1:-}" EDITION="${1:-}"
[ -z "${PROFILE}" ] && usage [ -z "${EDITION}" ] && usage
## Get the current release version ## Get the current release version
## e.g. ## e.g.
@ -49,7 +49,7 @@ else
IS_RELEASE=false IS_RELEASE=false
fi fi
case "${PROFILE}" in case "${EDITION}" in
*enterprise*) *enterprise*)
GIT_TAG_PREFIX="e" GIT_TAG_PREFIX="e"
;; ;;