mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Use new link ldflags syntax
This commit is contained in:
parent
55726036e3
commit
21f15aea3f
@ -39,7 +39,7 @@ echo "==> Building..."
|
||||
gox \
|
||||
-os="${XC_OS}" \
|
||||
-arch="${XC_ARCH}" \
|
||||
-ldflags "-X main.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" \
|
||||
-ldflags "-X=main.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" \
|
||||
-output "pkg/{{.OS}}_{{.Arch}}/terraform-{{.Dir}}" \
|
||||
$(go list ./... | grep -v /vendor/)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user