Debian Codegraph @

.goreleaser.yml

raw
1 # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2 # Make sure to check the documentation at http://goreleaser.com
3 version: 2
4 before:
5 hooks:
6 - go mod download
7 builds:
8 - env:
9 - CGO_ENABLED=0
10 goos:
11 - linux
12 - windows
13 - darwin
14 goarch:
15 - "386"
16 - amd64
17 - arm64
18 archives:
19 - format_overrides:
20 - goos: windows
21 formats: [ 'zip' ]
22 release:
23 github: {}
24 prerelease: auto
25 nfpms:
26 - homepage: https://changie.dev
27 description: Automated changelog tool for preparing releases with lots of customization options.
28 license: MIT
29 maintainer: Ronnie Smith <[email protected]>
30 formats:
31 - deb
32 - rpm
33 brews:
34 - repository:
35 owner: miniscruff
36 name: changie
37 homepage: https://changie.dev
38 description: Automated changelog tool for preparing releases with lots of customization options.
39 license: MIT
40 skip_upload: auto
41 scoops:
42 - repository:
43 owner: miniscruff
44 name: changie
45 commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
46 homepage: https://changie.dev
47 description: Automated changelog tool for preparing releases with lots of customization options.
48 license: MIT
49 winget:
50 - publisher: miniscruff
51 license: MIT
52 homepage: https://changie.dev
53 publisher_support_url: https://github.com/miniscruff/changie/issues/new
54 short_description: "Automated changelog tool for preparing releases with lots of customization options."
55 release_notes: "{{.Changelog}}"
56 repository:
57 owner: miniscruff
58 name: winget-pkgs
59 branch: "changie-{{.Version}}"
60 token: "{{.Env.WINGET_PAT}}"
61 pull_request:
62 enabled: true
63 draft: true
64 base:
65 owner: microsoft
66 name: winget-pkgs
67 branch: master
68 dockers:
69 - goos: linux
70 goarch: amd64
71 image_templates:
72 - "ghcr.io/miniscruff/changie:v{{ .Major }}"
73 - "ghcr.io/miniscruff/changie:v{{ .Major }}.{{ .Minor }}"
74 - "ghcr.io/miniscruff/changie:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
75 - "ghcr.io/miniscruff/changie:latest"
76 build_flag_templates:
77 - "--pull"
78 - "--label=org.opencontainers.image.created={{.Date}}"
79 - "--label=org.opencontainers.image.title={{.ProjectName}}"
80 - "--label=org.opencontainers.image.revision={{.FullCommit}}"
81 - "--label=org.opencontainers.image.version={{.Version}}"
82 - "--platform=linux/amd64"
83 checksum:
84 name_template: 'checksums.txt'
85 snapshot:
86 version_template: "{{ .Tag }}-next"
87 changelog:
88 disable: false