-
Notifications
You must be signed in to change notification settings - Fork 66
/
.goreleaser.yml
54 lines (48 loc) · 1.14 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
---
version: 2
builds:
- env:
- CGO_ENABLED=0
goos:
- windows
- linux
- darwin
goarch:
- amd64
- arm64
main: ./cmd/dyff/main.go
flags:
- -trimpath
ldflags:
- -s -w -extldflags "-static" -X github.com/homeport/dyff/internal/cmd.version={{.Version}}
mod_timestamp: '{{ .CommitTimestamp }}'
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
release:
name_template: "{{.ProjectName}} release v{{.Version}}"
changelog:
disable: false
use: github
filters:
exclude:
- "Merge pull request"
- "dependabot"
brews:
- repository:
owner: homeport
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/homeport/dyff/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
download_strategy: CurlDownloadStrategy
commit_author:
name: GoReleaser Bot
email: [email protected]
directory: HomebrewFormula
homepage: "https://github.com/homeport/dyff"
description: "δyƒƒ /ˈdʏf/ - A diff tool for YAML files, and sometimes JSON"
license: "MIT"
skip_upload: false
test: |
system "#{bin}/dyff version"