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