add_version.sh 107 Bytes
Newer Older
David Hrbáč's avatar
David Hrbáč committed
1
#!/bin/bash
David Hrbáč's avatar
David Hrbáč committed
2 3
VER=$(git log --pretty=format:'/ ver. %h / %ai' -n 1)
sed "s,__VERSION__, $VER," mkdocs.yml -i