forked from keploy/keploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
goreleaser.yaml
executable file
·54 lines (49 loc) · 1.12 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
# 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
# - windows
goarch:
- amd64
- arm64
# - binary: keploy
# id: keploy-macos
# main: ./cmd/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-macos
# 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