Skip to content

Akmeh/versioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Versioning

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