ci: Update build info

This commit is contained in:
Elian Doran
2024-07-20 21:58:14 +03:00
parent 7dc8c662ca
commit 80e647ffec
4 changed files with 22 additions and 6 deletions

3
bin/update-build-info.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
echo 'export = { buildDate:"'`date --iso-8601=seconds`'", buildRevision: "'`git log -1 --format="%H"`'" };' > src/services/build.ts