projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5017054
)
bugfix
author
Alex S
<alex.strizhakov@gmail.com>
Sat, 15 Jun 2019 08:36:13 +0000
(16:36 +0800)
committer
Alex S
<alex.strizhakov@gmail.com>
Sat, 15 Jun 2019 08:36:13 +0000
(16:36 +0800)
mix.exs
patch
|
blob
|
history
diff --git
a/mix.exs
b/mix.exs
index f82ae5243ba520577720a3088c1b6fb97ba8a0f4..a52debc91887ffd945d614a05fb27d28128f26fa 100644
(file)
--- a/
mix.exs
+++ b/
mix.exs
@@
-208,7
+208,11
@@
defmodule Pleroma.Mixfile do
branch_name =
with {branch_name, 0} <- System.cmd("git", ["rev-parse", "--abbrev-ref", "HEAD"]),
true <- branch_name != "master" do
- "-" <> String.trim(branch_name)
+ branch_name =
+ String.trim(branch_name)
+ |> String.replace(~r/\W+/, "-")
+
+ "-" <> branch_name
end
full_version =