projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f07003e
)
Fixed branch name substitutions for mix version (to comply to SemVer format).
author
Ivan Tashkinov
<ivant.business@gmail.com>
Fri, 21 Jun 2019 14:19:29 +0000
(17:19 +0300)
committer
Ivan Tashkinov
<ivant.business@gmail.com>
Fri, 21 Jun 2019 14:19:29 +0000
(17:19 +0300)
mix.exs
patch
|
blob
|
history
diff --git
a/mix.exs
b/mix.exs
index 30584cc92248d78b279b89be1efcc274c7ad980e..0981ee8565a4860773a3170ce764e91be56449a9 100644
(file)
--- a/
mix.exs
+++ b/
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