To follow up on my suggestion to use a git commit as a version, the
following command in fish automatically produces a version number:
date --date (git log -1 --pretty=format:%aD) -u +%Y.%m.%d.%H.%M.%S

In bash, it would be:
date --date "$(git log -1 --pretty=format:%aD)" -u +%Y.%m.%d.%H.%M.%S

-- 
http://www.fastmail.com - Or how I learned to stop worrying and
                          love email again


Reply via email to