# Release builds, made locally into dist/ (see "Releasing" in README.md): # goreleaser release --clean # on a version tag # goreleaser release --snapshot --clean # test build of the current commit version: 2 project_name: rekopub builds: - id: rekopub main: ./cmd/rekopub binary: rekopub env: - CGO_ENABLED=0 # pure Go: one self-contained file per platform goos: [windows, linux, darwin] goarch: [amd64, arm64] flags: [-trimpath] ldflags: - -s -w -X main.version={{ .Version }} archives: - id: rekopub name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" formats: [tar.gz] format_overrides: - goos: windows formats: [zip] files: - README.md - LICENSE checksum: name_template: checksums.txt changelog: use: git sort: asc release: # Nothing is published: the files in dist/ are attached to a release on # git.monoexp.com by hand. disable: true