From 69ec4d70524311d8347621f2f6705b81371f4bd7 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Mon, 25 Mar 2024 13:04:43 +0100 Subject: [PATCH] Updated app version --- build-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-docs.sh b/build-docs.sh index 67875c2d84..ffc17120b0 100644 --- a/build-docs.sh +++ b/build-docs.sh @@ -17,7 +17,7 @@ function generate_sphinx { pip install -r ./requirements.txt > /dev/null mkdir -p ./final if [ "$1" = "latest" ]; then - sed -i -e "s/__APPVERSION__/$1/g" ./lib/python/setup.py ./lib/python/pyproject.toml ./lib/python/docs/conf.py ./lib/python/docs/index.rst ./lib/python/docs/index.rst + sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" ./lib/python/setup.py ./lib/python/pyproject.toml ./lib/python/docs/conf.py ./lib/python/docs/index.rst ./lib/python/docs/index.rst fi sphinx-apidoc -o ./lib/python/docs/source ./lib/python/dbrepo sphinx-build -M html ./lib/python/docs/ ./lib/python/docs/build/ -- GitLab