Merge pull request #4142 from mitchellh/windowsgo

update windows build script for go compatibility
This commit is contained in:
Matthew Hooker 2016-11-09 16:07:10 -08:00 committed by GitHub
commit 6be3860412
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" `
.