Merge branch 'mix_sem_ver_version_fix' into 'develop'
Fixed mix version computed for underscore-containing branches See merge request pleroma/pleroma!1314
This commit is contained in:
commit
8dbcff2fed
1 changed files with 1 additions and 1 deletions
2
mix.exs
2
mix.exs
|
@ -213,7 +213,7 @@ defmodule Pleroma.Mixfile 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