-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
148 lines (139 loc) · 4.09 KB
/
.goreleaser.yaml
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
version: 2
builds:
- id: jalapeno
dir: cmd/jalapeno
env:
- CGO_ENABLED=0
ldflags: &ldflags
- -s -w
- -X github.com/futurice/jalapeno/internal/cli.version={{.Version}}
- -X github.com/futurice/jalapeno/internal/cli/option.version={{.Version}}
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- id: github-action
dir: cmd/action
env:
- CGO_ENABLED=0
ldflags: *ldflags
goos:
- linux
goarch:
- amd64
kos:
- id: jalapeno
repository: ghcr.io/futurice/jalapeno
build: jalapeno
base_image: alpine
tags:
- latest
- "v{{.Major}}"
- "v{{.Major}}.{{.Minor}}"
- "v{{.Version}}"
sbom: none
bare: true
preserve_import_paths: false
platforms:
- linux/amd64
- linux/arm64
labels: &labels
org.opencontainers.image.authors: "Jalapeno contributors <github.com/futurice/jalapeno>"
org.opencontainers.image.licenses: "Apache-2.0"
org.opencontainers.image.vendor: "Futurice"
org.opencontainers.image.title: "Jalapeno"
org.opencontainers.image.version: "v{{.Version}}"
org.opencontainers.image.description: "Jalapeno is a CLI for creating, managing and sharing spiced up project templates."
org.opencontainers.image.url: "https://github.com/futurice/jalapeno"
org.opencontainers.image.source: "https://github.com/futurice/jalapeno"
org.opencontainers.image.documentation: "https://futurice.github.io/jalapeno/"
- id: github-action
repository: ghcr.io/futurice/jalapeno
build: github-action
base_image: alpine
tags:
- "latest-githubaction"
- "v{{.Major}}-githubaction"
- "v{{.Major}}.{{.Minor}}-githubaction"
- "v{{.Version}}-githubaction"
sbom: none
bare: true
preserve_import_paths: false
platforms:
- linux/amd64
labels: *labels
archives:
- id: jalapeno
builds: [jalapeno]
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "{{ .ProjectName }}-checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- name: jalapeno
# GitHub repository
repository:
owner: futurice
name: homebrew-jalapeno
branch: main
git:
url: "git@github.com:futurice/homebrew-jalapeno.git"
private_key: "{{ .Env.HOMEBREW_TAP_PRIVATE_KEY }}"
# metadata
homepage: "https://futurice.github.io/jalapeno/"
description: "Jalapeno is a CLI for creating, managing and sharing spiced up project templates"
license: "Apache-2.0"
# how release is being downloaded/used
download_strategy: CurlDownloadStrategy
# actual formula things
commit_msg_template: "Brew formula update for jalapeno version {{ .Tag }}"
test: |
system "#{bin}/jalapeno --version"
winget:
- name: jalapeno
publisher: Futurice
publisher_url: https://www.futurice.com
publisher_support_url: https://github.com/futurice/jalapeno/issues/new
short_description: Jalapeno is a CLI for creating, managing and sharing spiced up project templates
license: "Apache-2.0"
homepage: https://futurice.github.io/jalapeno/
license_url: https://github.com/futurice/jalapeno/blob/main/LICENCE
release_notes: "{{ .Changelog }}"
release_notes_url: "https://github.com/futurice/jalapeno/releases/tag/{{ .Tag }}"
tags:
- cli
- configuration
- project
- bootstrap
- templates
repository:
owner: futurice
name: winget-pkgs
branch: "{{.ProjectName}}-{{.Version}}"
git:
url: "git@github.com:futurice/winget-pkgs.git"
private_key: "{{ .Env.WINGET_PKGS_PRIVATE_KEY }}"
pull_request:
enabled: true
base:
owner: microsoft
name: winget-pkgs
branch: master
announce:
slack:
enabled: true
message_template: "Jalapeno {{.Tag}} is out! Check the release notes at {{ .ReleaseURL }}"
channel: "#jalapeno"