Skip to content

Commit

Permalink
Add build version to Makefile output
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Jun 26, 2024
1 parent e2c0b8c commit 5de3051
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/geargrafx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions platforms/shared/desktop/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ define HEADER
\____|\\___|\\__,_|_| \\__, |_| \__,_|_| /_/\\_\\
|___/

** Building for $(PLATFORM) platform **
** Git version: $(GIT_VERSION) **

endef
export HEADER

Expand Down

0 comments on commit 5de3051

Please sign in to comment.