-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser2.yml
153 lines (148 loc) · 2.83 KB
/
.goreleaser2.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
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
149
150
151
152
153
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
project_name: foo
changelog:
filters:
exclude:
- (?i)moises
builds:
- binary: moises
env:
- CGO_ENABLED=0
main: ./main.go
goos:
- darwin
- linux
- windows
goarch:
- amd64
- "386"
winget:
- name: test
publisher: caarlos0
short_description: "my test app"
license: mit
repository:
owner: caarlos0-graveyards
name: fake-winpkgs
branch: "test-{{.Version}}"
pull_request:
enabled: true
base:
owner: caarlos0
name: fake-winpkgs
branch: main
nix:
- name: test
repository:
owner: caarlos0-graveyard
name: nur
branch: test-update2
pull_request:
enabled: true
base:
owner: caarlos0
name: nuraaaaaaa
branch: master
homepage: https://test
description: a test
license: mit
# - binary: foo
# id: foo
# env:
# - CGO_ENABLED=0
# main: ./foo/main.go
# goos:
# - darwin
# - linux
# - windows
# goarch:
# - amd64
# - binary: bar
# id: bar
# env:
# - CGO_ENABLED=0
# main: ./bar/main.go
# goos:
# - linux
# - darwin
# - windows
# goarch:
# - amd64
# upx:
# - enabled: true
# report_sizes: true
# gomod:
# proxy: true
# kos:
# - main: .
# repository: docker.io/caarlos0/test
# sbom: none
# bare: true
# preserve_import_paths: false
# platforms:
# - linux/amd64
# - linux/arm64
# tags: [latest, '{{.Tag}}']
archives:
- format: zip
# - id: moises
# name_template: 'moises_{{.Os}}_{{.Arch}}'
# builds:
# - moises
# - id: foo
# name_template: 'foo_{{.Os}}_{{.Arch}}'
# builds:
# - foo
# - id: bar
# name_template: 'bar_{{.Os}}_{{.Arch}}'
# builds:
# - bar
# brews:
# -
# tap:
# owner: caarlos0
# name: homebrew-tap
# # branch: feat-{{.Tag}}
# # pull_request:
# # enabled: true
# folder: Formula
# caveats: "Test formula, dont use it. It doesnt do anything"
# test: |
# system "#{bin}/foo"
# system "#{bin}/moises"
# scoops:
# - bucket:
# owner: caarlos0-graveyard
# name: test
# name: moises
# ids: [ moises ]
# - bucket:
# owner: caarlos0-graveyard
# name: test
# name: bar
# ids: [ bar ]
# - bucket:
# owner: caarlos0-graveyard
# name: test
# name: foo
# ids: [ foo ]
# nfpms:
# -
# formats:
# - deb
#
release:
# disable: true
github:
owner: caarlos0-graveyard
name: test
# dockers:
# - image_templates: ["caarlos0/moises:{{.Version}}"]
# dockerfile: Dockerfile.moises
# - image_templates: ["caarlos0/foo:{{.Version}}"]
# dockerfile: Dockerfile.foo
# - image_templates: ["caarlos0/bar:{{.Version}}"]
# dockerfile: Dockerfile.bar
# announce:
# discord:
# enabled: true