-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
97 lines (86 loc) · 2.05 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
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
main: ./cmd
goos:
- darwin
- linux
- windows
goarch:
- amd64
mod_timestamp: '{{ .CommitTimestamp }}'
checksum:
name_template: '{{ .ProjectName }}_v{{ .Version }}_SHA256SUMS'
algorithm: sha256
archives:
- format_overrides:
- goos: windows
format: zip
changelog:
use: github
sort: asc
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: Others
order: 999
filters:
exclude:
- '^docs:'
- typo
- (?i)foo
release:
name_template: "{{.ProjectName}} v{{.Version}}"
github:
owner: wesovilabs
name: templatizer
draft: true
prerelease: auto
header: |
## New release ({{ .Date }})
Welcome to this new release!
footer: |
## Thanks!
Those were the changes on {{ .Tag }}!
brews:
- name: templatizer
homepage: https://github.com/wesovilabs/homebrew-tools
tap:
owner: wesovilabs
name: homebrew-tools
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
snapcrafts:
- id: templatizer
builds:
- templatizer
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
name: templatizer
description: a Wesovilabs tools that speeds up your development by taking advantage of templates repositories.
summary: Speed up your development by taking advantage of templates repositories.
publish: true
grade: stable
confinement: strict
license: Apache-2.0
base: core18
nfpms:
- id: packages # here we say that artifacts built with nfpm will be identified with `packages` string.
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
publishers:
- name: fury.io
ids:
- packages
dir: "{{ dir .ArtifactPath }}"
cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/wesovilabs/