projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1e9698
)
Correct version parser branch name detection
author
rinpatch
<rinpatch@sdf.org>
Mon, 14 Oct 2019 15:45:16 +0000
(18:45 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Mon, 14 Oct 2019 15:45:16 +0000
(18:45 +0300)
mix.exs
patch
|
blob
|
history
diff --git
a/mix.exs
b/mix.exs
index 0ae9c3f05ae18461248e4efb162c880ac04d468b..329ce3d893429e210f6405ca26f22d13f8a00db6 100644
(file)
--- a/
mix.exs
+++ b/
mix.exs
@@
-222,7
+222,7
@@
defmodule Pleroma.Mixfile do
branch_name <- System.get_env("PLEROMA_BUILD_BRANCH") || branch_name,
true <-
!Enum.all?(["master", "HEAD", "release/", "stable"], fn name ->
- name != branch_name
+ String.starts_with?(name, branch_name)
end) do
branch_name =
branch_name