federator/release.sh

2 lines
103 B
Bash

git log | head -n1 | awk '{print "<?php\nglobal $version;\n$version=\"" $2 "\";\n"}' > php/version.php