mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-22 06:55:44 +00:00
Don't auto-add @ to prefix; Shift utility function
This commit is contained in:
@@ -15,8 +15,8 @@ fi
|
||||
if [[ -z "${current_version:-}" ]] ; then
|
||||
echo "🛑 Environment variable 'current_version' is unset or empty" 1>&2
|
||||
input_errors='true'
|
||||
elif [[ -z "$(echo "${current_version}" | grep_p "${pcre_allow_prefix}")" ]] ; then
|
||||
echo "🛑 Environment variable 'current_version' is not a valid normal version (M.m.p) or (prefix@M.m.p)" 1>&2
|
||||
elif [[ -z "$(echo "${current_version}" | grep_p "${pcre_master_ver}")" ]] ; then
|
||||
echo "🛑 Environment variable 'current_version' is not a valid normal version (M.m.p)" 1>&2
|
||||
input_errors='true'
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user