projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make possible to override the branch name via a env variable
[akkoma]
/
mix.exs
diff --git
a/mix.exs
b/mix.exs
index 781560a0a2b4f9097e6824403b8b222c60c08fe8..ac25b726667b548cdf456ddcd7c513e74f6a312c 100644
(file)
--- a/
mix.exs
+++ b/
mix.exs
@@
-207,6
+207,7
@@
defmodule Pleroma.Mixfile do
branch_name =
with {branch_name, 0} <- System.cmd("git", ["rev-parse", "--abbrev-ref", "HEAD"]),
+ branch_name <- System.get_env("PLEROMA_BUILD_BRANCH") || branch_name,
true <- branch_name != "master" do
branch_name =
String.trim(branch_name)