-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
86 lines (76 loc) · 1.95 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
project_name: vht
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
- go generate ./...
- go mod download
builds:
- env:
- CGO_ENABLED=0
id: "vht"
main: ./cmd/vht/main.go
ldflags:
- "-extldflags '-static'"
- "-X 'github.com/ilijamt/vht.BuildVersion={{ .Version }}'"
- "-X 'github.com/ilijamt/vht.BuildHash={{ .FullCommit }}'"
- "-X 'github.com/ilijamt/vht.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: vht
brews:
- repository:
owner: ilijamt
name: homebrew-tap
folder: Formula
homepage: https://github.com/ilijamt/vht
description: A simple vault helper tool that simplifies the usage of Vault
test: |
system "#{bin}/vht version"
# chocolateys:
# - name: vht
# owners: Ilija Matoski
# title: Vault Helper Tool
# authors: Ilija Matoski
# project_url: https://github.com/ilijamt/vht
# project_source_url: https://github.com/ilijamt/vht
# bug_tracker_url: https://github.com/ilijamt/vht/issues
# docs_url: https://github.com/ilijamt/vht/blob/main/README.md
# summary: A simple vault helper tool that simplifies the usage of Vault
# description: |
# {{ .ProjectName }} installer package
# A simple vault helper tool that simplifies the usage of Vault.
# Allows you to search and find data in Vault.
# api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
# source_repo: "https://push.chocolatey.org"