forked from keploy/keploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
goreleaser.yaml
executable file
·58 lines (52 loc) · 1.13 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
# GoReleaser configuration
archives:
-
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
builds:
- binary: keploy
id: keploy
main: ./main.go
ldflags:
- -s -w -X main.dsn={{.Env.SENTRY_DSN_BINARY}}
- -s -w -X main.version={{.Version}}
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
tags:
- viper_bind_struct
# - binary: keploy
# id: keploy-macos
# main: ./cli/server/main.go
# env:
# - CGO_ENABLED=0
# goos:
# - darwin
# goarch:
# - amd64
# - arm64
universal_binaries:
-
# ID of resulting universal binary.
#
# Defaults to the project name.
id: keploy-mac-universal
# IDs to use to filter the built binaries.
#
# Defaults to the `id` field.
# Since: v1.3.
ids:
- keploy
# Whether to remove the previous single-arch binaries from the artifact list.
# If left as false, your end release might have both several macOS archives:
# amd64, arm64 and all.
#
# Defaults to false.
replace: true
hooks:
post: gon -log-level=info -log-json ./gon.json