-
Notifications
You must be signed in to change notification settings - Fork 36
/
.goreleaser.yml
87 lines (87 loc) · 2.46 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- "386"
- amd64
- arm64
archives:
- format_overrides:
- goos: windows
format: 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 <[email protected]>
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
# disable until I get the token configured correctly...
# 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:
# 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:
name_template: "{{ .Tag }}-next"
changelog:
skip: false