-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.goreleaser.yml
53 lines (52 loc) · 1.16 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
env:
- CGO_ENABLED=0
- PROJECT=github.com/realvnc-labs/tacoscript
builds:
- id: tacoscript
main: ./
binary: tacoscript
ldflags:
- -X '{{.Env.PROJECT}}/cmd.Version={{.Version}}'
- -X '{{.Env.PROJECT}}/cmd.BuildTime={{.Date}}'
- -X '{{.Env.PROJECT}}/cmd.GitCommit={{.Commit}}'
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
goarm:
- "7"
gomips:
- hardfloat
- softfloat
ignore:
# TODO: remove when https://github.com/go-ole/go-ole/issues/202 will be fixed
- goos: windows
goarch: arm
archives:
- id: all
format_overrides:
- goos: windows
format: zip
name_template: >-
tacoscript_{{ .Version }}_{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
{{- if .Mips }}_{{ .Mips }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
release:
github:
owner: realvnc-labs
name: tacoscript
draft: true
prerelease: "true"