mirror of https://github.com/hashicorp/consul
Matt Keeler
5 years ago
committed by
GitHub
3 changed files with 13 additions and 1 deletions
@ -1,6 +1,7 @@
|
||||
#!/bin/bash |
||||
|
||||
export GIT_COMMIT=$(git rev-parse --short HEAD) |
||||
export GIT_COMMIT_YEAR=$(git show -s --format=%cd --date=format:%Y HEAD) |
||||
export GIT_DIRTY=$(test -n "`git status --porcelain`" && echo "+CHANGES" || true) |
||||
export GIT_DESCRIBE=$(git describe --tags --always --match "v*") |
||||
export GIT_IMPORT=github.com/hashicorp/consul/version |
||||
|
Loading…
Reference in new issue