-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
120 lines (115 loc) · 2.67 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
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
project_name: logfire
before:
hooks:
- go mod tidy
- go mod download
builds:
- goos:
- linux
- darwin
- windows
goarch:
- amd64
- 386
- arm64
goarm:
- 6
goamd64:
- v3
ignore:
- goos: windows
goarch: arm
main: ./main.go
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: logfire
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
format_overrides:
- goos: windows
format: zip
snapshot:
name_template: SNAPSHOT-{{ .Tag }}-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
signs:
- cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: none
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^conf:'
release:
github:
owner: logfire-ai
draft: true
prerelease: auto
discussion_category_name: General
header: |
## Features
List of newly introduced features:
- Item 1
- Item 2
## Bug fixes
List of fixed issues:
- Item 1
- Item 2
footer: |
## Thanks!
brews:
- repository:
name: homebrew-tap
owner: logfire-ai
description: 'Logfire command line interface'
homepage: 'https://github.com/logfire-ai/cli'
url_template: 'https://github.com/logfire-ai/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}'
download_strategy: CurlDownloadStrategy
folder: Formula
license: 'Apache 2.0'
dependencies:
- name: git
commit_author:
name: logfire
email: [email protected]
install: bin.install "logfire"
test: |
system "#{bin/logfire}"
nfpms:
- maintainer: logfire-ai
id: logfire
description: 'Logfire command line tool'
homepage: 'https://github.com/{{ .Env.REPO_NAME }}'
package_name: '{{ .ProjectName }}'
formats:
- deb
- rpm
bindir: /usr/bin
release: 1
scoops:
- name: logfire
url_template: 'https://github.com/logfire-ai/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}'
commit_author:
name: logfire
email: [email protected]
commit_msg_template: 'Scoop update for {{ .ProjectName }} version {{ .Tag }}'
homepage: 'https://logfire.ai/'
description: 'Logfire command line interface.'
skip_upload: false
depends: ['git']
shortcuts: [['logfire.exe', 'logfire']]
goamd64: v3
repository:
owner: logfire-ai
name: cli
branch: main
git:
url: '[email protected]:logfire-ai/cli.git'
private_key: '{{ .Env.PRIVATE_KEY_PATH }}'