diff options
author | rinpatch <rinpatch@sdf.org> | 2019-10-14 18:38:51 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-10-14 18:38:51 +0300 |
commit | 0e9243e8a28e957f2a9401eb153cc2b27723d0a3 (patch) | |
tree | b241da81594d9eed666052aef8a93d86a0a96c90 /mix.exs | |
parent | e3b4a3e96b2ffbc6d920155cd41687414045d4d6 (diff) | |
download | pleroma-0e9243e8a28e957f2a9401eb153cc2b27723d0a3.tar.gz pleroma-0e9243e8a28e957f2a9401eb153cc2b27723d0a3.zip |
Preparations for renaming `master` to `stable`
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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() |