Skip to content
Snippets Groups Projects
Commit a4ad260a authored by Jesper's avatar Jesper
Browse files

Publish index.md rather than index.html in release

The index.html file is rendered instead of index.php which means that
the menu is missing because header/footer html is not rendered.
Publishing index.md instead fixes this problem.
parent f1496166
No related branches found
No related tags found
No related merge requests found
<?php <?php
include("../../../web/include/functions.php"); include("../../../web/include/functions.php");
printHtmlFile("index.html"); printMarkdownFile("index.md");
?> ?>
...@@ -45,8 +45,15 @@ ant release -Dversion=$VERSION ...@@ -45,8 +45,15 @@ ant release -Dversion=$VERSION
echo "Uploading files to jastadd.org..." echo "Uploading files to jastadd.org..."
# --chmod=g+w sets group write permission # --chmod=g+w sets group write permission
rsync -av --chmod=g+w jastadd2-src.zip jastadd2-bin.zip doc/*.html doc/*.php \ rsync -av --chmod=g+w \
README.md login.cs.lth.se:/cs/jastadd/releases/jastadd2/${VERSION} jastadd2-src.zip \
jastadd2-bin.zip \
README.md \
doc/*.php \
doc/index.md \
doc/reference-manual.html \
doc/release-notes.html \
login.cs.lth.se:/cs/jastadd/releases/jastadd2/${VERSION}
echo echo
echo "Check that it works!" echo "Check that it works!"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment