forked from runatlantis/atlantis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
66 lines (53 loc) · 1.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
version: 2
env:
- CGO_ENABLED=0
builds:
- id: atlantis
targets:
- darwin_amd64
- darwin_arm64
- linux_386
- linux_amd64
- linux_arm
- linux_arm64
- windows_386
- windows_amd64
flags:
- -trimpath
ldflags:
- -s -w
- -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
archives:
- id: zip
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format: zip
files:
- none*
checksum:
name_template: "checksums.txt"
changelog:
disable: true
release:
# If set to true, will not auto-publish the release.
# Default is false.
draft: false
# If set, will create a release discussion in the category specified.
#
# Warning: do not use categories in the 'Announcement' format.
# Check https://github.com/goreleaser/goreleaser/issues/2304 for more info.
#
# Default is empty.
discussion_category_name: General
# 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
# TODO: This requires a gpg_private_key
# https://github.com/marketplace/actions/goreleaser-action#signing
# signs:
# # https://goreleaser.com/customization/sign/
# -
# artifacts: all
snapshot:
name_template: "{{ incpatch .Version }}-next"