Correct version parser branch name detection
This commit is contained in:
parent
d1e969842d
commit
17b8896c40
1 changed files with 1 additions and 1 deletions
2
mix.exs
2
mix.exs
|
@ -222,7 +222,7 @@ defp version(version) do
|
||||||
branch_name <- System.get_env("PLEROMA_BUILD_BRANCH") || branch_name,
|
branch_name <- System.get_env("PLEROMA_BUILD_BRANCH") || branch_name,
|
||||||
true <-
|
true <-
|
||||||
!Enum.all?(["master", "HEAD", "release/", "stable"], fn name ->
|
!Enum.all?(["master", "HEAD", "release/", "stable"], fn name ->
|
||||||
name != branch_name
|
String.starts_with?(name, branch_name)
|
||||||
end) do
|
end) do
|
||||||
branch_name =
|
branch_name =
|
||||||
branch_name
|
branch_name
|
||||||
|
|
Loading…
Reference in a new issue