projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
164f42c
)
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 16:34:38 +0000
(19:34 +0300)
mix.exs
patch
|
blob
|
history
diff --git
a/mix.exs
b/mix.exs
index f61cc69235583c8cabad2eea4de46a95f57b4983..c0f3b105bffaa27411e192c66acb2f07fc9de471 100644
(file)
--- a/
mix.exs
+++ b/
mix.exs
@@
-217,7
+217,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