--- version: 2 project_name: mtg-multi before: hooks: - go mod tidy - go generate ./... builds: - id: default binary: mtg-multi goos: - linux - darwin goarch: - amd64 - arm64 env: - CGO_ENABLED=0 flags: - -trimpath - -mod=readonly ldflags: -s -w -X main.version={{ .Version }} archives: - id: default ids: - default name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}' formats: - tar.gz wrap_in_directory: true files: - LICENSE - README.md - example.config.toml snapshot: version_template: '{{ .Version }}' checksum: name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'