Commit 17b8896c authored by rinpatch's avatar rinpatch
Browse files

Correct version parser branch name detection

parent d1e96984
Pipeline #18602 failed with stages
in 12 minutes and 28 seconds
......@@ -222,7 +222,7 @@ defp version(version) 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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment