-
-
Notifications
You must be signed in to change notification settings - Fork 268
/
.goreleaser.yml
48 lines (46 loc) · 925 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
project_name: smap
builds:
- main: .
binary: smap
dir: ./cmd/smap
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
- freebsd
goarch:
- amd64
- arm
- arm64
- mips
goarm:
- 7
ignore:
- goos: freebsd
goarch: arm
- goos: freebsd
goarch: arm64
- goos: freebsd
goarch: mips
- goos: windows
goarch: arm
goarm: 7
- goos: windows
goarch: arm64
- goos: linux
goarch: mips
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ .Arm }}"
format: tar.xz
format_overrides:
- goos: windows
format: zip
replacements:
darwin: macOS
wrap_in_directory: true
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}--sha256_checksums.txt"
release:
draft: true