|
From: | Francisco Vila |
Subject: | Re: Git version control |
Date: | Tue, 15 Aug 2017 19:31:20 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 10/08/17 23:11, Graham King wrote:\header { Nice. I have a simpler solution for those who launch a bash script for rendering en masse. The script has this line: echo "hash="\"Git version `git log --pretty="%h %s" | head -1`"\"" > gitversion-header.ily Then the same script calls lilypond on the files to compile as usual. The lilypond file or your stylesheet \includes the file gitversion-header.ily and prints the version with a \markup{\hash} or similar. -- Francisco Vila. Badajoz (Spain) paconet.org , csmbadajoz.com |
[Prev in Thread] | Current Thread | [Next in Thread] |