This repository was archived by the owner on Mar 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.goreleaser.yml
72 lines (67 loc) · 1.48 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
project_name: bubbly
builds:
- id: bubbly
binary: bubbly
main: main.go
flags:
# include the ui in the build
- -tags=ui
goos:
- linux
- darwin
- windows
goarch:
- arm64
- amd64
ignore:
# some packages (e.g. zerolog, sqlite) don't have this combo
- goos: windows
goarch: arm64
goarm:
- 7
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
id: nix
builds: [bubbly]
brews:
- name: bubbly
tap:
owner: valocode
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
folder: Formula
homepage: "https://bubbly.dev/"
description: "Bubbly"
test: |
system "#{bin}/bubbly --version"
dockers:
- goos: linux
goarch: amd64
skip_push: false
use: buildx
dockerfile: Dockerfile.goreleaser
image_templates:
- "valocode/{{ .ProjectName }}:latest"
- "valocode/{{ .ProjectName }}:{{ .Tag }}"
- "valocode/{{ .ProjectName }}:{{ .Major }}"
- "valocode/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}"
- "valocode/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
build_flag_templates:
- "--pull"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
github:
owner: valocode
name: bubbly
prerelease: auto
disable: false
draft: false