-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.goreleaser.yml
81 lines (73 loc) · 1.78 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
before:
hooks:
- go mod download
dist: bin
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X=github.com/srijanone/vega/pkg/version.SemVer={{ .Version }}
- -X=github.com/srijanone/vega/pkg/version.GitCommit={{ .Commit }}
# - -X=github.com/srijanone/vega/pkg/version.BuildTime={{ .Date }}
goos:
- darwin
- linux
- windows
goarch:
- amd64
- 386
brews:
- name: vega
github:
owner: srijanone
name: homebrew-vega
url_template: "https://github.com/srijanone/vega/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: Vijay Soni (vs4vijay)
email: [email protected]
folder: Formula
description: "vega"
skip_upload: false
dependencies:
- git
- windmilleng/tap/tilt
install: |
bin.install "vega"
test: |
system "#{bin}/vega version"
#nfpms:
# - file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
# homepage: https://github.com/srijanone/vega
# description: "vega"
# maintainer: Vijay Soni <[email protected]>
# license: MIT
# formats:
# - deb
# - rpm
#
#snapcrafts:
# - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
# summary: "vega"
# description: "vega"
# grade: stable
# confinement: classic
# publish: true
archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
# # Removing replacement as go-github-selfupdate doesn't work with replacements
# replacements:
# darwin: mac
# linux: linux
# windows: windows
# 386: i386
# amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
filters:
exclude:
- "^docs:"
- "^test:"