Add version command (#604)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-10-09 19:35:04 -04:00
1 parent 83c2a354f2
commit bd271b707d
8 files changed
+119 -11

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ echo "==> Building..."
gox \
-osarch="${XC_OSARCH}" \
-gcflags "${GCFLAGS}" \
-ldflags "${LD_FLAGS}-X github.com/hashicorp/boundary/version.GitCommit='${GIT_COMMIT}${GIT_DIRTY}'" \
-ldflags "${LD_FLAGS}-X github.com/hashicorp/boundary/version.GitCommit=${GIT_COMMIT}${GIT_DIRTY}" \
-output "pkg/{{.OS}}_{{.Arch}}/boundary" \
${GOX_PARALLEL_BUILDS+-parallel="${GOX_PARALLEL_BUILDS}"} \
-tags="${BUILD_TAGS}" \