-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.goreleaser.yml
More file actions
48 lines (48 loc) · 1.16 KB
/
.goreleaser.yml
File metadata and controls
48 lines (48 loc) · 1.16 KB
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
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
main: ./cmd/vault-plugin-database-redisenterprise
flags:
- -trimpath
ldflags:
- '-X github.com/RedisLabs/vault-plugin-database-redisenterprise/internal/version.Version={{.Version}} -X github.com/RedisLabs/vault-plugin-database-redisenterprise/internal/version.GitCommit={{.Commit}}'
# The different architectures that Vault supports
goos:
- darwin
- windows
- linux
- freebsd
- netbsd
- openbsd
- solaris
goarch:
- '386'
- amd64
- arm
- arm64
ignore:
- goos: freebsd
goarch: arm64
- goos: netbsd
goarch: arm
- goos: netbsd
goarch: arm64
- goos: openbsd
goarch: arm
- goos: openbsd
goarch: arm64
binary: '{{ .ProjectName }}_{{ .Version }}'
archives:
- format: binary
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
release:
draft: true
changelog:
skip: true