e69f89c279
* add BuildDate to version base * populate BuildDate with ldflags * include BuildDate in FullVersionNumber * add BuildDate to seal-status and associated status cmd * extend core/versions entries to include BuildDate * include BuildDate in version-history API and CLI * fix version history tests * fix sys status tests * fix TestStatusFormat * remove extraneous LD_FLAGS from build.sh * add BuildDate to build.bat * fix TestSysUnseal_Reset * attempt to add build-date to release builds * add branch to github build workflow * add get-build-date to build-* job needs * fix release build command vars * add missing quote in release build command * Revert "add branch to github build workflow" This reverts commit b835699ecb7c2c632757fa5fe64b3d5f60d2a886. * add changelog entry
7 lines
264 B
Bash
Executable file
7 lines
264 B
Bash
Executable file
#!/bin/bash
|
|
# it's tricky to do an RFC3339 format in a cross platform way, so we hardcode UTC
|
|
DATE_FORMAT="%Y-%m-%dT%H:%M:%SZ"
|
|
|
|
# we're using this for build date because it's stable across platform builds
|
|
git show -s --format=%cd --date=format:"$DATE_FORMAT" HEAD
|