-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
55 lines (49 loc) · 1.32 KB
/
.goreleaser.yml
File metadata and controls
55 lines (49 loc) · 1.32 KB
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
version: 2
builds:
- main: ./cmd/tq
binary: tq
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
archives:
- formats: [tar.gz]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
formats: [zip]
sboms:
- artifacts: archive
changelog:
disable: true
# Release notes generated by git-cliff in the workflow
release:
extra_files: []
prerelease: auto
footer: |
**Full Changelog**: https://github.com/tq-lang/tq/blob/main/CHANGELOG.md
brews:
- repository:
owner: tq-lang
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
branch: goreleaser-{{ .ProjectName }}-{{ .Version }}
pull_request:
enabled: true
base:
owner: tq-lang
name: homebrew-tap
branch: main
skip_upload: false
directory: Formula
url_template: "https://github.com/tq-lang/tq/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
homepage: https://github.com/tq-lang/tq
description: "Command-line TOON/JSON processor — jq for TOON"
license: MIT
test: |
assert_match version.to_s, shell_output("#{bin}/tq --version")