-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
73 lines (64 loc) · 1.27 KB
/
.goreleaser.yaml
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
before:
hooks:
- go mod tidy
- go fmt ./...
- go test ./...
builds:
- id: tcols
main: ./cmd/tcols
binary: tcols
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -X main.version={{ .Version }} -X main.commit={{ .Commit }} -X main.date={{ .CommitDate }}
mod_timestamp: '{{ .CommitTimestamp }}'
targets:
- linux_amd64
- linux_arm64
- linux_arm
- linux_riscv64
- windows_amd64
- windows_arm64
- windows_arm
- darwin_amd64
- darwin_arm64
universal_binaries:
- id: tcols
replace: true
name_template: tcols
archives:
- id: tcols
format: tar.gz
builds:
- tcols
files:
- none*
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
dockers:
- id: tools
goos: linux
goarch: amd64
ids:
- tcols
image_templates:
- "ghcr.io/mdm-code/tcols:latest"
- "ghcr.io/mdm-code/tcols:{{ .Tag }}"
- "ghcr.io/mdm-code/tcols:v{{ .Major }}"
skip_push: false
checksum:
name_template: 'sha256sums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
release:
github:
owner: mdm-code
name: termcols
draft: true
prerelease: auto
mode: replace
changelog:
use: github-native
announce:
skip: true