I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 588f2f78 authored by str4d's avatar str4d
Browse files

Include mtn revision in rendered pages

parent c666219b
No related branches found
No related tags found
No related merge requests found
......@@ -83,5 +83,9 @@
{% include "global/footer.html" %}
</footer>
</div>
<!--
{% include "include/mtnversion" ignore missing %}
-->
</body>
</html>
......@@ -17,6 +17,8 @@ if grep "^mtn: \(add\|patch\|dropp\|updat\)\(ed\|ing\) 'i2p2www/translations/" "
./compile-messages.sh
fi
echo "Monotone revision: $(mtn log --no-files --no-graph --to h: | grep Revision | sed 's/Revision: //')" >./i2p2www/pages/include/mtnversion
if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TMP" >/dev/null ; then
echo "Python files changed, restarting server"
touch $TOUCHFILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment