before: hooks: - go mod tidy builds: - id: ctrld env: - CGO_ENABLED=0 flags: - -trimpath ldflags: - -s -w - -X main.version={{.Version}} - -X main.commit={{.Commit}} goos: - darwin - linux - windows goarch: - 386 - arm - amd64 - arm64 tags: - qf main: ./cmd/ctrld hooks: post: /bin/sh ./scripts/upx.sh {{ .Path }} archives: - format_overrides: - goos: windows format: zip strip_parent_binary_folder: true wrap_in_directory: true files: - README.md checksum: name_template: 'checksums.txt' snapshot: name_template: "{{ incpatch .Version }}-next" changelog: sort: asc filters: exclude: - '^docs:'