Add simple version to binaries via golink (#1286)

* Add version linking to binaries via --workspace_status_command=./scripts/workspace_status.sh

* dont export some things

* lint and better date

* even better date
This commit is contained in:
Preston Van Loon
2019-01-09 23:19:33 -05:00
committed by GitHub
parent 09d4c3b25d
commit b23ca60efd
17 changed files with 64 additions and 0 deletions

4
scripts/workspace_status.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
echo STABLE_GIT_COMMIT $(git rev-parse HEAD)
echo DATE $(date --rfc-3339=seconds --utc)