-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
47 lines (45 loc) · 897 Bytes
/
.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
version: 2
env:
- GO111MODULE=on
project_name: cfkvs
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/cfkvs/main.go
binary: cfkvs
ldflags:
- -s
- -w
- -extldflags "-static"
- -X github.com/michimani/cfkvs/cli.version={{.Version}}
- -X github.com/michimani/cfkvs/cli.revision={{.Commit}}
goos:
- linux
- darwin
goarch:
- amd64
- arm64
archives:
- format: tar.gz
files:
- LICENSE
- README.md
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- repository:
owner: michimani
name: homebrew-tap
directory: Formula
homepage: "https://github.com/michimani/cfkvs"
description: "A simple command line tool for CloudFront Key Value Store"
license: "MIT"
test: |
system "#{bin}/goreleaser -v"