Skip to content
Snippets Groups Projects
Verified Commit ff397504 authored by Martin Weise's avatar Martin Weise
Browse files

More debug

parent f6b3117a
No related branches found
No related tags found
No related merge requests found
...@@ -13,12 +13,12 @@ function generate_docs { ...@@ -13,12 +13,12 @@ function generate_docs {
mkdir -p ./final mkdir -p ./final
if [ "$1" = "latest" ]; then if [ "$1" = "latest" ]; then
OVERRIDES_MAIN_HTML=$(cat .docs/overrides/main.html) OVERRIDES_MAIN_HTML=$(cat .docs/overrides/main.html)
sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" .docs/scripts/extra.js
SCRIPTS_EXTRA_JS=$(cat .docs/scripts/extra.js) SCRIPTS_EXTRA_JS=$(cat .docs/scripts/extra.js)
else else
echo $OVERRIDES_MAIN_HTML > .docs/overrides/main.html echo $OVERRIDES_MAIN_HTML > .docs/overrides/main.html
mkdir -p .docs/scripts mkdir -p .docs/scripts
echo $SCRIPTS_EXTRA_JS > .docs/scripts/extra.js echo $SCRIPTS_EXTRA_JS > .docs/scripts/extra.js
sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" .docs/scripts/extra.js
fi fi
find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/$1/g" {} \; find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/$1/g" {} \;
find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/$1/g" {} \; find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/$1/g" {} \;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment