-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
56 lines (56 loc) · 1.3 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
# http://goreleaser.com
project_name: tss
before:
hooks:
- go mod download
- go mod verify
env:
- GO111MODULE=on
- GOPROXY=https://proxy.golang.org
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
# - arm
- arm64
goarm:
- 6
ldflags:
- -s -w
- -X github.com/peaceiris/tss/cmd.buildVersion={{.Version}}
- -X github.com/peaceiris/tss/cmd.buildCommit={{.Commit}}
- -X github.com/peaceiris/tss/cmd.buildDate={{.Date}}
archives:
- rlcp: true
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{.ProjectName}}_v{{.Version}}_{{.Os}}-{{.Arch}}"
files:
- README.md
- LICENSE
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
release:
name_template: "{{.ProjectName}} v{{.Version}}"
brews:
- tap:
owner: peaceiris
name: homebrew-tap
folder: Formula
homepage: https://github.com/peaceiris/tss
description: Annotate stdin with timestamps per line. A Go port of moreutils/ts and fork of kevinburke/tss.
license: MIT
test: |
system "#{bin}/tss -h"
commit_author:
name: "github-actions[bot]"
email: "github-actions[bot]@users.noreply.github.com"