diff options
author | rinpatch <rinpatch@sdf.org> | 2019-10-14 16:55:32 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-10-14 16:55:32 +0000 |
commit | f5305d281570a353b999dea272d3bb24f17e89aa (patch) | |
tree | d96ccea27b6fd40c9c28962fb3619ccb0deb611d /mix.exs | |
parent | a067cf0f231090e138a7daf43ddd2f4dfdb09000 (diff) | |
parent | 7aa17c3e758f3b46a88ac1dff8ef4ef2edd3a266 (diff) | |
download | pleroma-release/1.0.tar.gz |
Merge branch 'backport/1.0-branch-name-change' into 'master'release/1.0
Backport branch name changes to 1.0
See merge request pleroma/pleroma!1842
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -209,7 +209,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 -> + String.starts_with?(name, branch_name) + end) do branch_name = branch_name |> String.trim() |