Preparations for renaming master to stable
This commit is contained in:
parent
1f99abbeba
commit
3d3c166e59
13 changed files with 21 additions and 15 deletions
5
mix.exs
5
mix.exs
|
|
@ -215,7 +215,10 @@ defmodule Pleroma.Mixfile do
|
|||
with {branch_name, 0} <- System.cmd("git", ["rev-parse", "--abbrev-ref", "HEAD"]),
|
||||
branch_name <- String.trim(branch_name),
|
||||
branch_name <- System.get_env("PLEROMA_BUILD_BRANCH") || branch_name,
|
||||
true <- branch_name not in ["master", "HEAD"] do
|
||||
true <-
|
||||
!Enum.all?(["master", "HEAD", "release/", "stable"], fn name ->
|
||||
name != branch_name
|
||||
end) do
|
||||
branch_name =
|
||||
branch_name
|
||||
|> String.trim()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue