chore: update app.src.script

This commit is contained in:
zhanghongtong 2020-07-17 19:23:48 +08:00
parent 32effd632c
commit e87aa812f8
1 changed files with 1 additions and 1 deletions

View File

@ -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 case re:run(Tag, "^[v|e]?[0-9]\.[0-9]\.([0-9]|(rc|beta|alpha)\.[0-9])", [{capture, none}]) of
nomatch -> nomatch ->
Tag; Tag;
{match, _} -> _ ->
%% if it is a version number prefixed by 'v' or 'e', then remove it %% if it is a version number prefixed by 'v' or 'e', then remove it
re:replace(Tag, "[v|e]", "", [{return ,list}]) re:replace(Tag, "[v|e]", "", [{return ,list}])
end end