-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yml
69 lines (68 loc) · 1.76 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
# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
---
project_name: furyagent
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- >
-s -w
-X github.com/sighupio/furyagent/cmd.version={{.Version}}
-X github.com/sighupio/furyagent/cmd.commit={{.Commit}}
-X github.com/sighupio/furyagent/cmd.date={{.Date}}
archives:
- name_template: "{{ tolower .ProjectName }}-{{ tolower .Os }}-{{ tolower .Arch }}"
id: furyagent-{{ tolower .Os }}-{{ tolower .Arch }}-tgz
format: tar.gz
wrap_in_directory: true
- name_template: "{{ tolower .ProjectName }}-{{ tolower .Os }}-{{ tolower .Arch }}"
id: furyagent-{{ tolower .Os }}-{{ tolower .Arch }}-bin
format: binary
wrap_in_directory: false
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-develop"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
ids:
- furyagent-{{ tolower .Os }}-{{ tolower .Arch }}-tgz
- furyagent-{{ tolower .Os }}-{{ tolower .Arch }}-bin
github:
owner: sighupio
name: furyagent
name_template: '{{ .Tag }}'
prerelease: auto
brews:
- name: furyagent
repository:
owner: sighupio
name: homebrew-furyagent
ids:
- furyagent-{{ tolower .Os }}-{{ tolower .Arch }}-tgz
skip_upload: auto
folder: Formula
homepage: 'https://gihub.com/sighupio/furyagent'
description: 'Furyagent binary'
conflicts:
- furyagent
test: |
system "#{bin}/furyagent"
install: |
bin.install 'furyagent'