update windows build script for go compatibility

pull/4142/head
Matthew Hooker 10 years ago
parent 1cf9dbf27d
commit d44fa76683
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1

@ -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" `
.

Loading…
Cancel
Save