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 '.|-' ' '
}
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"
;;