mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 19:35:33 +00:00
Correct version parser branch name detection
This commit is contained in:
parent
164f42c5f8
commit
2b6cd10b68
2
mix.exs
2
mix.exs
|
@ -217,7 +217,7 @@ defmodule Pleroma.Mixfile 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