Paul Selkirk wrote: > PACKAGE_VERSION := 2.0.$(shell git show -s --format=%ct HEAD)
For later I'd suggest: git describe --dirty --tags --abbrev=6 --always > So that would be the timestamp (unix epoch) of the last commit on > user/sra/alpha-releng/omnibus. I find the commit id itself a fair bit more useful than a timestamp, because I can look up exactly what repository state that commit represents, which is difficult with just the timestamp. //Peter _______________________________________________ Tech mailing list [email protected] https://lists.cryptech.is/listinfo/tech
