mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 07:04:44 +00:00
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 @@ 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