On Fri, 2021-10-29 at 15:28 +0200, Alec Leamas wrote: > Other solutions could be creating a file like VERSION with relevant git > data and add that to the distribution. That file can normally not be > checked into git, it's a chicken and egg problem. The solution is to add > the logic to autoconf/cmake/whatever is used. I maintain a package called autorevision, which is aimed at adding git information to exported tarballs. It supports various languages and build systems. Please use that instead of any sort of custom solution. https://autorevision.github.io/ -- bye, pabs https://wiki.debian.org/PaulWise
Attachment:
signature.asc
Description: This is a digitally signed message part