-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
90 lines (70 loc) · 1.55 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
88
89
90
project_name: dispatch
dist: ./goreleaser/dist
version: 2
before:
hooks:
- go mod tidy
gomod:
proxy: true
builds:
- id: dispatch
main: .
binary: dispatch
mod_timestamp: "{{ .CommitTimestamp }}"
goarch:
- amd64
- arm64
goos:
- darwin
- linux
- windows
- id: dispatch-docs
main: .
binary: dispatch-docs
mod_timestamp: "{{ .CommitTimestamp }}"
tags: docs
goarch:
- amd64
goos:
- linux
archives:
- id: dispatch
builds: [dispatch]
format_overrides:
- goos: windows
format: zip
- id: dispatch-docs
builds: [dispatch-docs]
name_template: "{{ .ProjectName }}_docs_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
release:
github:
owner: dispatchrun
name: dispatch
draft: false
prerelease: auto
mode: replace
changelog:
use: github-native
brews:
- name: dispatch
ids:
- dispatch
url_template: "https://github.com/dispatchrun/dispatch/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: stealthrocket-bot
email: [email protected]
directory: Formula
homepage: "https://dispatch.run"
description: "A platform for developing scalable & reliable distributed systems."
license: "Apache-2.0"
skip_upload: false
test: |
system "#{bin}/dispatch", "--version"
repository:
owner: dispatchrun
name: homebrew-dispatch
branch: main
token: "{{ .Env.GH_TOKEN_HOMEBREW_DISPATCH }}"
pull_request:
enabled: true
draft: true