Updated commit and build date capturing

It's now written to a build.txt file instead of using environment variables internally. Standalone installs now has this properly as well.
This commit is contained in:
Donkie
2024-01-25 22:03:18 +01:00
parent c0b4951a68
commit b40da6e2ee
3 changed files with 27 additions and 6 deletions

View File

@@ -82,6 +82,11 @@ jobs:
- name: Fix permissions
run: |
chmod +x scripts/*.sh
- name: Write build info
run: |
echo "GIT_COMMIT=$(git rev-parse --short HEAD)" > build.txt
echo "BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> build.txt
- name: Upload client Spoolman artifact
uses: actions/upload-artifact@v3