-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
.goreleaser.yaml
141 lines (124 loc) · 3.54 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
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
# - go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- "386"
- amd64
- arm64
- arm
ignore:
- goos: darwin
goarch: "386"
- goos: darwin
goarch: arm
- goos: windows
goarch: "386"
- goos: windows
goarch: arm
dir: src
ldflags:
- -X github.com/f1bonacc1/process-compose/src/config.Version={{.Tag}}
- -X github.com/f1bonacc1/process-compose/src/config.CheckForUpdates=true
- -X github.com/f1bonacc1/process-compose/src/config.Commit={{.ShortCommit}}
- -X github.com/f1bonacc1/process-compose/src/config.Date={{.CommitDate}}
- -s -w
archives:
- id: process-compose
name_template: >-
{{ .ProjectName }}_
{{- .Os }}_
{{- .Arch }}
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
snapshot:
name_template: "{{ .Version }}-SNAPSHOT-{{.ShortCommit}}"
brews:
- name: process-compose
homepage: https://github.com/F1bonacc1/process-compose
repository:
owner: f1bonacc1
name: homebrew-tap
install: |-
bin.install "process-compose"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
draft: true
replace_existing_draft: false
disable: false
announce:
discord:
# Whether its enabled or not.
enabled: true
# Message template to use while publishing.
#
# Default: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
# Templates: allowed
message_template: |
**New Release: Process Compose {{.Tag}}**
Process Compose {{.Tag}} is out.
What's new: {{.ReleaseURL}}
Thanks,
f1bonacc1
# Set author of the embed.
#
# Default: 'GoReleaser'
author: "f1bonacc1"
# Color code of the embed. You have to use decimal numeral system, not hexadecimal.
#
# Default: '3888754' (the grey-ish from GoReleaser)
color: ""
# URL to an image to use as the icon for the embed.
#
# Default: 'https://goreleaser.com/static/avatar.png'
icon_url: "https://avatars.githubusercontent.com/u/806740?v=4"
twitter:
enabled: false
# Message template to use while publishing.
#
# Default: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'.
# Templates: allowed.
message_template: |
**New Release: Process Compose {{.Tag}}**
Process Compose {{.Tag}} is out.
What's new: {{.ReleaseURL}}
Thanks,
f1bonacc1
bluesky:
# Whether it's enabled or not.
enabled: true
# Message template to use while publishing.
#
# Default: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'.
# Templates: allowed.
message_template: |
**New Release: Process Compose {{.Tag}}**
Process Compose {{.Tag}} is out.
What's new: {{.ReleaseURL}}
Thanks,
f1bonacc1
# The username of the account that will post
# to Bluesky
username: "processcompose.bsky.social"
# modelines, feel free to remove those if you don't want/use them:
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj