mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-02 06:34:13 +00:00
Fix hiding branch name logic
This commit is contained in:
parent
988654a720
commit
0733da3205
2
mix.exs
2
mix.exs
|
@ -216,7 +216,7 @@ defmodule Pleroma.Mixfile do
|
|||
branch_name <- String.trim(branch_name),
|
||||
branch_name <- System.get_env("PLEROMA_BUILD_BRANCH") || branch_name,
|
||||
true <-
|
||||
!Enum.all?(["master", "HEAD", "release/", "stable"], fn name ->
|
||||
!Enum.any?(["master", "HEAD", "release/", "stable"], fn name ->
|
||||
String.starts_with?(name, branch_name)
|
||||
end) do
|
||||
branch_name =
|
||||
|
|
Loading…
Reference in a new issue