Skip to content

Commit

Permalink
Fixed website-build.sh nighlty to tag renames.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylussaud committed Sep 11, 2024
1 parent 55e4d68 commit 417a0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/website-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 417a0d9

Please sign in to comment.