On Wed, Nov 16, 2016 at 10:01 PM, Daniel Kahn Gillmor <[email protected]> wrote: > On Thu 2016-11-17 02:40:30 +0900, Jason A. Donenfeld wrote: >> Trying again with no line breaks: >> > Please don't assume that the source code is built from a git repository. > On debian, we build from the tarball, which is extracted from the git > repo, and we have nothing for "git rev-parse" to draw from.
That's why my horrible one liner falls back on getting the version from the parent directory... Not pretty. > > For the cost of one extra commit just before tagging, you could populate > a version.txt file and this then becomes $(shell cat version.txt). Yea most likely this is what will wind up happening... _______________________________________________ WireGuard mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/wireguard
