From 5de3051036b076e1698f96155e5d7f35c2478305 Mon Sep 17 00:00:00 2001 From: Ignacio Sanchez Gines <863613+drhelius@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:34:13 +0200 Subject: [PATCH] Add build version to Makefile output --- .github/workflows/geargrafx.yml | 1 - platforms/shared/desktop/Makefile.common | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/geargrafx.yml b/.github/workflows/geargrafx.yml index 99837f5..d68247b 100644 --- a/.github/workflows/geargrafx.yml +++ b/.github/workflows/geargrafx.yml @@ -36,7 +36,6 @@ jobs: run: sudo apt-get install -y libsdl2-dev libglew-dev libgtk-3-dev - name: Get build number run: | - git fetch -a echo "BUILD_NUMBER=$(git describe --abbrev=7 --dirty --always --tags)" >> $GITHUB_ENV - name: make run: make diff --git a/platforms/shared/desktop/Makefile.common b/platforms/shared/desktop/Makefile.common index 27f8cd5..a7d815c 100644 --- a/platforms/shared/desktop/Makefile.common +++ b/platforms/shared/desktop/Makefile.common @@ -6,6 +6,9 @@ define HEADER \____|\\___|\\__,_|_| \\__, |_| \__,_|_| /_/\\_\\ |___/ + ** Building for $(PLATFORM) platform ** + ** Git version: $(GIT_VERSION) ** + endef export HEADER