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

This package is not auto-updated.

Last update: 2024-11-13 09:22:54 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