From: Nikodemus S. <nik...@ra...> - 2011-02-09 11:07:27
|
On 9 February 2011 10:17, Nikodemus Siivola <nik...@ra...> wrote: > 1.0.45.10.better-backtraces.7-abc123ef-dirty Since code is always better, attached a bit of lisp which generates version numbers like this for branches, and release.commits-since-release-hash[-dirty] for master. (If you try it in Slime, SB-POSIX:CHDIR into the right directory.) Translation to shell later... I think this mostly obviates the need for branch-version.lisp-expr, but appending it to the end is always an option -- without it people wanting to identify the packager in the version string need to use a branch named with that in mind, etc. Cheers, -- Nikodemus |