version: 1 env: - CGO_ENABLED=0 flags: - -trimpath goos: linux goarch: amd64 binary: hishtory-{{ .OS }}-{{ .Arch }} ldflags: - '{{ .Env.VERSION_LDFLAGS }}'