-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.goreleaser.yml
More file actions
111 lines (99 loc) · 2.4 KB
/
Copy path.goreleaser.yml
File metadata and controls
111 lines (99 loc) · 2.4 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
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
project_name: kurasowa
release:
github:
owner: redhat-iot
name: kurasowa
draft: false
build:
binary: kurasowa
main: .
ldflags: -s -w -X main.timestamp={{.Date}} -X main.commitHash={{.Commit}} -X main.gitTag={{.Version}}
goos:
- darwin
- linux
- windows
# - freebsd
# - netbsd
# - openbsd
# - dragonfly
goarch:
- amd64
- 386
- arm
- arm64
ignore:
- goos: openbsd
goarch: arm
goarm: 6
env:
- CGO_ENABLED=0
archive:
name_template: "{{.Binary}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
amd64: 64bit
386: 32bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
dragonfly: DragonFlyBSD
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
# - CHANGELOG.md
snapshot:
name_template: SNAPSHOT #-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
brew:
# Repository to push the tap to.
github:
owner: redhat-iot
name: homebrew-tap
# Allows you to set a custom download strategy.
# Default is empty.
# download_strategy: GitHubPrivateRepositoryReleaseDownloadStrategy
commit_author:
name: ccustine
email: ccustine@apache.org
# Folder inside the repository to put the formula.
# Default is the root folder.
folder: Formula
# Caveats for the user of your binary.
# Default is empty.
# caveats: "How to use this binary"
homepage: "https://github.com/redhat-iot/kurasowa/"
description: "Command line utility for reading KuraPayload messages"
# Setting this will prevent goreleaser to actually try to commit the updated
# formula - instead, the formula file will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
# Default is false.
skip_upload: false
# Packages your package depends on.
# dependencies:
# - git
# - zsh
# Packages that conflict with your package.
# conflicts:
# - svn
# - bash
# Specify for packages that run as a service.
# Default is empty.
# plist: |
# <?xml version="1.0" encoding="UTF-8"?>
# ...
# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/kurasowa --help"
# Custom install script for brew.
# Default is 'bin.install "program"'.
# install: |
# bin.install "program"