bug-gnulib
[Top][All Lists]
Advanced

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

Re: helper to bump scriptversion=


From: Paul Eggert
Subject: Re: helper to bump scriptversion=
Date: Wed, 9 Feb 2022 14:21:55 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 2/7/22 18:33, Mike Frysinger wrote:
is there a helper script that i'm missing to update $scriptversion
automatically for me ?

I normally rely on Emacs to update $scriptversion. For example, the following at the bottom of the bootstrap file tells Emacs to update $scriptversion whenever I edit the file.

# Local Variables:
# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC0"
# time-stamp-end: "; # UTC"
# End:

This could be turned into a shell script that calls Emacs.



reply via email to

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