[Ach] git metadata for output-files

L. Aaron Kaplan kaplan at cert.at
Wed Nov 20 22:56:01 CET 2013


On Nov 20, 2013, at 10:20 PM, Arsen STASIC <arsen.stasic at univie.ac.at> wrote:

> * Ulrich Poeschl <ulrich.poeschl at bmlvs.gv.at> [2013-11-20 21:48 (+0100)]:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> hey,
>> 
>> I read "make the git version number part of the document" within the
>> TODO-file, so I updated the project to use gitinfo for adding metadata
>> to the footer of the (pdf)-output files.
>> 
>> I am not quite THE git-crack, and this is just one way to do it.
>> Another way would possibly be via the Makefile, dunno.
>> 
>> If you add the script below to your .git/hooks/ as post-commit,
>> post-checkout and post-merge, it will do the trick.
> 
> +1
> 
+1



--- 
// L. Aaron Kaplan <kaplan at cert.at> - T: +43 1 5056416 78
// CERT Austria - http://www.cert.at/
// Eine Initiative der nic.at GmbH - http://www.nic.at/
// Firmenbuchnummer 172568b, LG Salzburg




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.cert.at/pipermail/ach/attachments/20131120/9d9bf271/attachment.sig>


More information about the Ach mailing list