From 281e7421d7008a2d4eddac2ae970d4ea76d17200 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 16 Nov 2024 23:36:46 +0100 Subject: [PATCH] Put git hash in startup message --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d62881..c6fef95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,10 @@ jobs: - name: Get specific commits of git submodules run: | sh -ex ./submod.sh + - name: Apply patches + run: | + # Put git hash in startup message + sed -i "s/Loading.../$(date +%Y%m%d)-$(git rev-parse --short HEAD)/g" src/userinterface.cpp - name: Install toolchains run: | set -ex