-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
83 lines (74 loc) · 2.17 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
project_name: "vault-token-helper"
before:
hooks:
- go mod tidy
- go generate ./...
- go mod download
builds:
- env:
- CGO_ENABLED=0
id: "vault-token-helper"
main: ./cmd/vault-token-helper/main.go
ldflags:
- "-s -w"
- "-extldflags '-static'"
- "-X 'github.com/ilijamt/vault-token-helper.BuildVersion={{ .Version }}'"
- "-X 'github.com/ilijamt/vault-token-helper.BuildHash={{ .FullCommit }}'"
- "-X 'github.com/ilijamt/vault-token-helper.BuildDate={{ .Date }}'"
goarch:
- 386
- amd64
- arm
- arm64
goos:
- linux
- darwin
- windows
flags:
- -trimpath
mod_timestamp: '{{ .CommitTimestamp }}'
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
- Merge pull request
- Merge branch
archives:
- format_overrides:
- goos: windows
format: zip
release:
github:
owner: ilijamt
name: vault-token-helper
brews:
- repository:
owner: ilijamt
name: homebrew-tap
folder: Formula
homepage: https://github.com/ilijamt/vault-token-helper
description: A token helper is an external program that Vault calls to save, retrieve or erase a saved token.
test: |
system "#{bin}/vault-token-helper version"
# chocolateys:
# - name: vault-token-helper
# owners: Ilija Matoski
# title: Vault Token Helper
# authors: Ilija Matoski
# project_url: https://github.com/ilijamt/vault-token-helper
# project_source_url: https://github.com/ilijamt/vault-token-helper
# bug_tracker_url: https://github.com/ilijamt/vault-token-helper/issues
# docs_url: https://github.com/ilijamt/vault-token-helper/blob/main/README.md
# summary: A token helper is an external program that Vault calls to manage tokens
# description: |
# {{ .ProjectName }} installer package
# A token helper is an external program that Vault calls to save, retrieve or erase a saved token.
# api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
# source_repo: "https://push.chocolatey.org"