update windows build script for go compatibility

This commit is contained in:
Matthew Hooker 2016-11-09 15:11:05 -08:00
parent 1cf9dbf27d
commit d44fa76683
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ echo "==> Building..."
gox.exe `
-os="${XC_OS}" `
-arch="${XC_ARCH}" `
-ldflags "-X github.com/mitchellh/packer/version.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" `
-ldflags "-X github.com/mitchellh/packer/version.GitCommit=${GIT_COMMIT}${GIT_DIRTY}" `
-output "pkg/{{.OS}}_{{.Arch}}/packer" `
.