contrib/commitinfo: support updating the commit info

This commit is contained in:
Christian Hesse 2025-11-13 19:34:10 +01:00
parent 576f41fc86
commit 6e57826bbe
2 changed files with 10 additions and 1 deletions

6
contrib/commitinfo.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
sed -i \
-e "/^:global CommitId/c :global CommitId \"${COMMITID:-unknown}\";" \
-e "/^:global CommitInfo/c :global CommitInfo \"${COMMITINFO:-unknown}\";" \
global-functions.rsc