Preparations for renaming master to stable
This commit is contained in:
parent
e3b4a3e96b
commit
0e9243e8a2
13 changed files with 19 additions and 15 deletions
5
mix.exs
5
mix.exs
|
|
@ -220,7 +220,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