summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Tashkinov <ivant.business@gmail.com>2019-06-20 17:54:16 +0300
committerIvan Tashkinov <ivant.business@gmail.com>2019-06-20 17:54:16 +0300
commitf07003e2183c4e13a428614bd0ce39c9e84e2da2 (patch)
tree35edd8163cf059a0aece8a01b3e6672fb8fb5ff8
parent524a66806d21ace82d3edab5e25eecb076a00305 (diff)
downloadpleroma-f07003e2183c4e13a428614bd0ce39c9e84e2da2.tar.gz
pleroma-f07003e2183c4e13a428614bd0ce39c9e84e2da2.zip
Fixed mix version computed for underscore-containing branches to be of SemVer format.
-rw-r--r--mix.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mix.exs b/mix.exs
index 7f8e36cbb..30584cc92 100644
--- 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