lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to append a git version to an output filename


From: Ben Beeson
Subject: How to append a git version to an output filename
Date: Sat, 13 Jan 2018 21:17:11 -0500

Hello all,

I am using git to keep track of edits to scores and am presently using 

\bookOutputName "score-filename" 
 
to write the output filename for the pdf that is generated in the LilyPond "ly" file. I am also using  

"git Version: \gitCommitish " 

in the tagline so the generated pdf has the git version information included in the score that is generated. I am wondering if there is a way to include \gitCommitish in \bookOutputSuffix so that the output filename looks like:

"score-filename-gitversion.pdf".

So far I have not been able to figure out how to do that or find an existing solution in the snippets, forum or elsewhere. If anyone has a solution, please share it.

Thanks in advance,

Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]