diff options
author | kdx <kdx@42l.fr> | 2023-02-22 05:04:16 +0100 |
---|---|---|
committer | kdx <kdx@42l.fr> | 2023-02-22 05:07:48 +0100 |
commit | c6743ca55eda2475fc9f71039be0d209a5dcfe56 (patch) | |
tree | 3da70582584b55c0ca82c5a1a749d93501526f21 /create_TZR.c.sh | |
parent | e7912bec3ccda1e6a43de6125ed16026b79118ae (diff) | |
download | tzr-c6743ca55eda2475fc9f71039be0d209a5dcfe56.tar.gz |
mark git commit hash in release files
Diffstat (limited to 'create_TZR.c.sh')
-rwxr-xr-x | create_TZR.c.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/create_TZR.c.sh b/create_TZR.c.sh index 2b9e628..0057a60 100755 --- a/create_TZR.c.sh +++ b/create_TZR.c.sh @@ -13,5 +13,7 @@ done sort -u "$BUILDDIR/includes" >"$BUILDDIR/out" printf '\n' >>"$BUILDDIR/out" cat "$BUILDDIR/sources" >>"$BUILDDIR/out" +printf '\n' >>"$BUILDDIR/out" +git log -n1 --format="/* commit hash: %H */" >>"$BUILDDIR/out" cp "$BUILDDIR/out" TZR.c |