forked from AkkomaGang/akkoma
Fixed branch name substitutions for mix version (to comply to SemVer format).
This commit is contained in:
parent
f07003e218
commit
259ffe0062
1 changed files with 1 additions and 1 deletions
2
mix.exs
2
mix.exs
|
@ -212,7 +212,7 @@ defp version(version) do
|
|||
true <- branch_name != "master" do
|
||||
branch_name =
|
||||
String.trim(branch_name)
|
||||
|> String.replace(~r/[\W_]+/, "-")
|
||||
|> String.replace(~r/[^0-9a-z\-\.]+/i, "-")
|
||||
|
||||
"-" <> branch_name
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue