This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
.goreleaser.yml
105 lines (95 loc) · 2.22 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
project_name: secrethub-cli
builds:
- &default
id: default
binary: "bin/secrethub"
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- 386
- arm64
- arm
goarm:
- 5
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
main: ./cmd/secrethub/main.go
ldflags:
- -s -w -X "github.com/secrethub/secrethub-cli/internals/secrethub.Commit={{ .ShortCommit }}" -X "github.com/secrethub/secrethub-cli/internals/secrethub.Version={{ .Version }}"
flags:
- -tags=production
- <<: *default
id: "without-bin-dir"
binary: "secrethub"
archives:
- name_template: "secrethub-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
builds:
- default
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- CREDITS.md
checksum:
name_template: "secrethub-{{ .Tag }}-checksums.txt"
release:
prerelease: true
brews:
- name: secrethub-cli
ids:
- default
tap:
owner: secrethub
name: homebrew-tools
folder: Formula
install: |
bin.install "bin/secrethub"
homepage: https://secrethub.io
description: Command-line interface for SecretHub
skip_upload: false
scoop:
name: secrethub-cli
bucket:
owner: secrethub
name: scoop-secrethub
homepage: https://secrethub.io
description: Command-line interface for SecretHub
license: Apache-2.0
skip_upload: false
nfpms:
- file_name_template: "secrethub-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
builds:
- without-bin-dir
vendor: SecretHub
homepage: https://secrethub.io
description: CLI for using the SecretHub Secret Management Service
maintainer: SecretHub Support <[email protected]>
license: Apache 2.0
bindir: /usr/bin
formats:
- rpm
- deb
dependencies:
- ca-certificates
recommends:
- xclip
scripts:
postinstall: "scripts/post-install.sh"
postremove: "scripts/post-remove.sh"