1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-12-25 04:53:06 +00:00

Correct version parser branch name detection

This commit is contained in:
rinpatch 2019-10-14 18:45:16 +03:00
parent d1e969842d
commit 17b8896c40

View file

@ -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