From bf3a93b7730903a859efcc69ac288c41f56c1b6e Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 9 Nov 2024 18:00:39 +0100 Subject: [PATCH] Put git hash in startup message --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a960de1..f88831d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,8 @@ jobs: sh -ex ./submod.sh - name: Apply patches run: | + # Put git hash in startup message + sed -i "s/Loading.../$(git rev-parse --short=7 HEAD)/g" src/userinterface.c # https://github.com/rsta2/circle/discussions/427#discussioncomment-11198505 sed -i -e 's|TTLShort = 120|TTLShort = 15|g' circle-stdlib/libs/circle/include/circle/net/mdnspublisher.h - name: Install toolchains