1 2 3 4 5 6 7 8 9 |
|
#! /bin/sh # Include the git hash in an OCaml file. revision=$(git rev-parse --short HEAD) compile_date=$(date +%Y/%m/%d) echo "let revision = \"${revision} - compiled on ${compile_date}\"" k rel='alternate' title='Atom feed' href='https://git.chimrod.com/blog_scripts.git/atom/lib/elements/dune?h=master' type='application/atom+xml'/>