forked from taubyte/tau
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
114 lines (103 loc) · 2.44 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# .goreleaser.yaml
project_name: tau
release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
github:
owner: taubyte
name: tau
# If set to true, will not auto-publish the release.
# Available only for GitHub and Gitea.
#
# Default is false.
draft: false
# Whether to remove existing draft releases with the same name before creating
# a new one.
# Only effective if `draft` is set to true.
# Available only for GitHub.
#
# Default: false.
# Since: v1.11.
replace_existing_draft: false
# If set to auto, will mark the release as not ready for production
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1
# If set to true, will mark the release as not ready for production.
# Default is false.
prerelease: auto
# You can change the name of the release.
# Default is `{{.Tag}}` on OSS and `{{.PrefixedTag}}` on Pro.
name_template: ""
# You can disable this pipe in order to not create the release on any SCM.
# Keep in mind that this might also break things that depend on the release
# URL, for instance, homebrew taps.
#
# Defaults to false.
# Templateable since: v1.15.
disable: false
# Set this to true if you want to disable just the artifact upload to the SCM.
# If this is true, GoReleaser will still create the release with the
# changelog, but won't upload anything to it.
#
# Default: false.
# Since: v1.11.
# Templateable since: v1.15.
skip_upload: false
# builds:
# -
# ignore:
# - goos: darwin
# # - goos: windows
# env:
# - CGO_ENABLED=0
# - GOAMD64=v2
# tags:
# - odo
# # goarch:
# # - amd64
# # - arm
# # - arm64
builds:
- main: "main.go"
id: linux
binary: "tau"
goos:
- linux
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
- GOAMD64=v2
tags:
- odo
- main: "main.go"
id: darwin
binary: "tau"
goos:
- darwin
env:
- CGO_ENABLED=0
- GOAMD64=v2
tags:
- darwin
- odo
- main: "main.go"
id: windows
binary: "tau"
goos:
- windows
goarch:
- amd64
env:
- CGO_ENABLED=0
- GOAMD64=v2
tags:
- windows
changelog:
disable: true
checksum:
disable: true
# Archives files to attach: https://goreleaser.com/customization/archive/?h=readme
archives:
- files:
- none*