Commit c00797d0 authored by rinpatch's avatar rinpatch

Merge branch 'fix/version-branch-skip' into 'stable'

Fix hiding branch name logic

See merge request !1845
parents 988654a7 0733da32
Pipeline #18785 passed with stages
in 64 minutes and 31 seconds
......@@ -216,7 +216,7 @@ defp version(version) 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 =
......
Markdown is supported
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