Fixed mix version computed for underscore-containing branches to be of SemVer format.
This commit is contained in:
parent
524a66806d
commit
f07003e218
1 changed files with 1 additions and 1 deletions
2
mix.exs
2
mix.exs
|
@ -212,7 +212,7 @@ defmodule Pleroma.Mixfile do
|
|||
true <- branch_name != "master" do
|
||||
branch_name =
|
||||
String.trim(branch_name)
|
||||
|> String.replace(~r/\W+/, "-")
|
||||
|> String.replace(~r/[\W_]+/, "-")
|
||||
|
||||
"-" <> branch_name
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue