diff --git a/src/emqx.app.src.script b/src/emqx.app.src.script index 6f8cc6a14..0355197b2 100644 --- a/src/emqx.app.src.script +++ b/src/emqx.app.src.script @@ -16,7 +16,7 @@ RemoveLeadingV = case re:run(Tag, "^[v|e]?[0-9]\.[0-9]\.([0-9]|(rc|beta|alpha)\.[0-9])", [{capture, none}]) of nomatch -> Tag; - {match, _} -> + _ -> %% if it is a version number prefixed by 'v' or 'e', then remove it re:replace(Tag, "[v|e]", "", [{return ,list}]) end