From 10c32ce63bba29feb9d4d1860a3b2bf091ad447e Mon Sep 17 00:00:00 2001 From: Nick Chapman Date: Fri, 13 Sep 2024 12:19:30 +0100 Subject: [PATCH] Include build info in the eggs package --- .github/workflows/build-eggsfs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-eggsfs.yml b/.github/workflows/build-eggsfs.yml index 57539f13..0e2af275 100644 --- a/.github/workflows/build-eggsfs.yml +++ b/.github/workflows/build-eggsfs.yml @@ -34,6 +34,9 @@ jobs: run: | # Create an archive dir to hold all build and deployment artifacts mkdir -p archive/bin + # Stamp some build information into the package. + echo "commit, $(git describe --always --dirty)" >> archive/build.info + echo "timestamp, $(date +"%Y%m%dT%H%M%S")" >> archive/build.info # Move the binaries into the archive (we don't copy because it's unecessary and slow) mv build/ubuntu/* archive/bin # Move the deploy folder into the archive