projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
524a668
)
Fixed mix version computed for underscore-containing branches to be of SemVer format.
author
Ivan Tashkinov
<ivant.business@gmail.com>
Thu, 20 Jun 2019 14:54:16 +0000
(17:54 +0300)
committer
Ivan Tashkinov
<ivant.business@gmail.com>
Thu, 20 Jun 2019 14:54:16 +0000
(17:54 +0300)
mix.exs
patch
|
blob
|
history
diff --git
a/mix.exs
b/mix.exs
index 7f8e36cbb98157ec32a52a998cede2ecd3b65ee0..30584cc92248d78b279b89be1efcc274c7ad980e 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/
[\W_]
+/, "-")
"-" <> branch_name
end