contrib/commitinfo: support updating the commit info

This commit is contained in:
Christian Hesse 2025-11-13 19:34:10 +01:00
parent b285f2c5d2
commit 638258000b
2 changed files with 11 additions and 1 deletions

6
contrib/commitinfo.sh Executable file
View file

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