fix(workflow): ensure version suffix is only removed if defined
This commit is contained in:
@@ -701,7 +701,9 @@ jobs:
|
||||
[ -e "${candidate}" ] || continue
|
||||
name="${candidate##*/}"
|
||||
version="${name#${prefix}}"
|
||||
if [ -n "${suffix}" ]; then
|
||||
version="${version%${suffix}}"
|
||||
fi
|
||||
|
||||
case "${version}" in
|
||||
*[!0-9.]*|""|*.*.*.*)
|
||||
|
||||
Reference in New Issue
Block a user