akmeh/versioning

Version Manager in order to generate .version in every version and keep tracking on it

1.2.5 2018-07-03 01:48 UTC

README

Generate Version file from the tag list

php -r 'exec("git tag", $tags); sort($tags, SORT_STRING); $last = array_pop($tags); file_put_contents(".version", $last);'

Or

git describe --abbrev=0 --tags > .version