Jérémy Bobbio wrote:
We use BUILD_DATE="$(dpkg-parsechangelog -S Date)" to get the time of
the latest debian/changelog entry. Other projects could use
BUILD_DATE="$(git log -1 --pretty="%cd")".

Hah! I use "git log -1 --format='tformat:%ct'" for this situation in the tzcode distribution. Great minds think (nearly) alike.

I guess I'm not still seeing why it's a win to add an option to tar, since we seem to have a solution that doesn't involve messing with tar.

Reproducible-builds mailing list

Reply via email to