-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser
155 lines (117 loc) · 3.86 KB
/
.goreleaser
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
154
155
project_name: reboot-ecs-service
builds:
-
id: reboot-ecs-service
main: ./cmd/cli
binary: reboot-ecs-service
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
# dockers:
# # You can have multiple Docker images.
# -
# # ID of the image, needed if you want to filter by it later on (e.g. on custom publishers).
# id: echo-server
# # GOOS of the built binaries/packages that should be used.
# goos: linux
# # GOARCH of the built binaries/packages that should be used.
# goarch: amd64
# # GOAMD64 of the built binaries/packages that should be used.
# goamd64: 'v1'
# # IDs to filter the binaries/packages.
# ids:
# - echo-server
# # Templates of the Docker image names.
# image_templates:
# - "ghcr.io/jmoney/echo-server:latest"
# - "ghcr.io/jmoney/echo-server:{{ .Tag }}"
# - "ghcr.io/jmoney/echo-server:v{{ .Major }}"
# dockerfile: 'Dockerfile'
# use: docker
# .goreleaser.yaml
brews:
-
name: "reboot-ecs-service@{{ .Tag }}"
repository:
owner: jmoney
name: homebrew-aws
branch: main
token: "{{ .Env.GITHUB_TOKEN }}"
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: goreleaserbot
email: release@jmoney.dev
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
homepage: "https://jmoney.dev/reboot-ecs-service"
description: "Reboots an ECS service"
# SPDX identifier of your app's license.
# Default is empty.
license: "Apache 2.0"
# Setting this will prevent goreleaser to actually try to commit the updated
# formula - instead, the formula file will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
# If set to auto, the release will not be uploaded to the homebrew tap
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
# Default is false.
# skip_upload: true
# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/reboot-ecs-service -h"
# Custom install script for brew.
# Default is 'bin.install "program"'.
install: |
bin.install "reboot-ecs-service"
-
name: "reboot-ecs-service"
repository:
owner: jmoney
name: homebrew-aws
branch: main
token: "{{ .Env.GITHUB_TOKEN }}"
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: goreleaserbot
email: release@jmoney.dev
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
homepage: "https://jmoney.dev/reboot-ecs-service"
description: "Reboots an ECS Service"
# SPDX identifier of your app's license.
# Default is empty.
license: "Apache 2.0"
# Setting this will prevent goreleaser to actually try to commit the updated
# formula - instead, the formula file will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
# If set to auto, the release will not be uploaded to the homebrew tap
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
# Default is false.
# skip_upload: true
# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/reboot-ecs-service -h"
# Custom install script for brew.
# Default is 'bin.install "program"'.
install: |
bin.install "reboot-ecs-service"