Merge pull request #2091 from hashicorp/b-travis

Enables fallback git tag check to fix Travis.
This commit is contained in:
James Phillips 2016-06-03 23:35:46 -07:00
commit d4a8a43d2b

View File

@ -17,7 +17,7 @@ cd "$DIR"
# Get the git commit # Get the git commit
GIT_COMMIT="$(git rev-parse HEAD)" GIT_COMMIT="$(git rev-parse HEAD)"
GIT_DIRTY="$(test -n "`git status --porcelain`" && echo "+CHANGES" || true)" GIT_DIRTY="$(test -n "`git status --porcelain`" && echo "+CHANGES" || true)"
GIT_DESCRIBE="$(git describe --tags)" GIT_DESCRIBE="$(git describe --tags --always)"
# Determine the arch/os combos we're building for # Determine the arch/os combos we're building for
XC_ARCH=${XC_ARCH:-"386 amd64 arm"} XC_ARCH=${XC_ARCH:-"386 amd64 arm"}