From 417a0d9e04d29ff9d053b22375722c7504f0d18e Mon Sep 17 00:00:00 2001 From: Yvan Lussaud Date: Wed, 11 Sep 2024 15:30:46 +0200 Subject: [PATCH] Fixed website-build.sh nighlty to tag renames. --- scripts/website-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/website-build.sh b/scripts/website-build.sh index 7b8e003d2..847ec9cea 100644 --- a/scripts/website-build.sh +++ b/scripts/website-build.sh @@ -14,7 +14,7 @@ wget -r --no-parent --no-host-directories --no-verbose -P ../plugins/org.obeonet # replace nigthly by current tag if [ -n "$TAG" ]; then echo " - Replace Nightly to" $TAG - mv ../plugins/org.obeonetwork.m2doc.doc/doc/ref-doc/nightly ../plugins/org.obeonetwork.m2doc.doc/doc/$TAG + mv ../plugins/org.obeonetwork.m2doc.doc/doc/ref-doc/nightly ../plugins/org.obeonetwork.m2doc.doc/doc/ref-doc/$TAG find ../plugins/org.obeonetwork.m2doc.doc/doc/ -name "*.html" -exec sed -i 's#Nightly#'$TAG'#g' {} \; find ../plugins/org.obeonetwork.m2doc.doc/doc/ -name "*.html" -exec sed -i 's#nightly#'$TAG'#g' {} \; fi