Merge pull request #4142 from mitchellh/windowsgo
update windows build script for go compatibility
This commit is contained in:
commit
6be3860412
|
@ -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…
Reference in New Issue