build environment: add GIT_BRANCH variable

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-03-29 16:28:17 +02:00
parent 7b4cf2eb48
commit 0742c2504d
5 changed files with 10 additions and 3 deletions

View file

@ -6,7 +6,7 @@ from searx.version import VERSION_STRING
from pallets_sphinx_themes import ProjectLink
from searx.brand import GIT_URL
GIT_BRANCH =os.environ.get("GIT_BRANCH", "master")
GIT_BRANCH = os.environ.get("GIT_BRANCH", "master")
from searx.brand import SEARX_URL
from searx.brand import DOCS_URL