mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 01:49:28 +00:00
contrib/commitinfo: support updating the commit info
This commit is contained in:
parent
b285f2c5d2
commit
638258000b
2 changed files with 11 additions and 1 deletions
6
contrib/commitinfo.sh
Executable file
6
contrib/commitinfo.sh
Executable 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}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue