-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy path.goreleaser.yaml
97 lines (94 loc) · 2.01 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
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
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- cd app && go mod tidy
release:
github:
owner: Pluralith
name: pluralith-cli
# If set to true, will not auto-publish the release.
# Default is false.
draft: true
builds:
- binary: linux/pluralith
id: linux
dir: ./app
goos:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
no_unique_dist_dir: true
- binary: windows/pluralith
id: windows
dir: ./app
goos:
- windows
goarch:
- amd64
env:
- CGO_ENABLED=0
no_unique_dist_dir: true
- binary: darwin/pluralith
id: darwin
dir: ./app
goos:
- darwin
goarch:
- amd64
env:
- CGO_ENABLED=0
no_unique_dist_dir: true
signs:
- signature: "${artifact}"
ids:
- darwin
cmd: bash
args:
- ./scripts/signMac.sh
artifacts: all
output: true
archives:
- id: binaries
name_template: "pluralith_cli_{{ .Os }}_{{ .Arch }}_{{ .Tag }}"
builds:
- "linux"
- "darwin"
- "windows"
format: binary
- id: archives
name_template: "pluralith_cli_tap_{{ .Os }}_{{ .Arch }}_{{ .Tag }}"
builds:
- "linux"
- "darwin"
- "windows"
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "pluralith_checksums_{{ .Tag }}.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- name: pluralith
tap:
owner: Pluralith
name: pluralith-homebrew-tap
commit_author:
name: Daniel Putzer
email: [email protected]
ids:
- archives
homepage: "https://pluralith.com"
description: "Pluralith is a tool for Terraform state visualisation and automated infrastructure documentation"
test: |
system "#{bin}/pluralith version"
install: |
bin.install "pluralith"