# yaml-language-server: $schema=https://goreleaser.com/static/schema.json # Make sure to check the documentation at http://goreleaser.com version: 2 before: hooks: - go mod download builds: - env: - CGO_ENABLED=0 goos: - linux - windows - darwin goarch: - "386" - amd64 - arm64 archives: - format_overrides: - goos: windows formats: [ 'zip' ] release: github: {} prerelease: auto nfpms: - homepage: https://changie.dev description: Automated changelog tool for preparing releases with lots of customization options. license: MIT maintainer: Ronnie Smith formats: - deb - rpm brews: - repository: owner: miniscruff name: changie homepage: https://changie.dev description: Automated changelog tool for preparing releases with lots of customization options. license: MIT skip_upload: auto scoops: - repository: owner: miniscruff name: changie commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}" homepage: https://changie.dev description: Automated changelog tool for preparing releases with lots of customization options. license: MIT winget: - publisher: miniscruff license: MIT homepage: https://changie.dev publisher_support_url: https://github.com/miniscruff/changie/issues/new short_description: "Automated changelog tool for preparing releases with lots of customization options." release_notes: "{{.Changelog}}" repository: owner: miniscruff name: winget-pkgs branch: "changie-{{.Version}}" token: "{{.Env.WINGET_PAT}}" pull_request: enabled: true draft: true base: owner: microsoft name: winget-pkgs branch: master dockers: - goos: linux goarch: amd64 image_templates: - "ghcr.io/miniscruff/changie:v{{ .Major }}" - "ghcr.io/miniscruff/changie:v{{ .Major }}.{{ .Minor }}" - "ghcr.io/miniscruff/changie:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}" - "ghcr.io/miniscruff/changie:latest" build_flag_templates: - "--pull" - "--label=org.opencontainers.image.created={{.Date}}" - "--label=org.opencontainers.image.title={{.ProjectName}}" - "--label=org.opencontainers.image.revision={{.FullCommit}}" - "--label=org.opencontainers.image.version={{.Version}}" - "--platform=linux/amd64" checksum: name_template: 'checksums.txt' snapshot: version_template: "{{ .Tag }}-next" changelog: disable: false