-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser-rest.yaml
65 lines (64 loc) · 1.33 KB
/
.goreleaser-rest.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
project_name: flb-pubsub
before:
hooks:
- go mod tidy
builds:
- id: "flb_pubsub"
main: "."
binary: flb_pubsub
tags:
- release
flags: -buildmode=c-shared
env:
- GO_VERSION="1.18"
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
- arm64
overrides:
- goos: linux
goarch: arm64
env:
- CC=aarch64-linux-gnu-gcc
- goos: linux
goarch: amd64
env:
- CC=gcc
- id: "flb_pubsub_dll"
main: "."
binary: flb_pubsub
tags:
- release
flags: -buildmode=c-shared
env:
- GO_VERSION="1.18"
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc-win32
goos:
- windows
goarch:
- amd64
- 386
overrides:
- goos: windows
goarch: 386
env:
- CC=i686-w64-mingw32-gcc-win32
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format: gz
files:
- none*
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}{{ if not (eq .Os "Windows") }}.so{{else}}.dll{{end}}'
checksum:
name_template: 'checksums.txt'
release:
changelog:
skip: false