blob: d907209c1b6d6a4d556f455c742dcba788f3ffb2 (
plain) (
blame)
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
|
project_name: fixproject
builds:
- id: default
main: .
binary: fixproject
flags:
- -tags
- -trimpath
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.Version={{.Version}} -X main.BuildDate={{ .CommitDate }}
goos:
- darwin
- linux
goarch:
- amd64
- arm64
archives:
- id: default
builds:
- default
name_template: "fixproject_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format: tar.gz
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
|