-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
102 lines (70 loc) · 2.07 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
98
99
100
101
102
project_name: newreleases
builds:
- main: ./newreleases/main.go
binary: newreleases
flags:
- -v
- -trimpath
ldflags:
- -s -w -X newreleases.io/cmd.version={{.Version}}
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- "386"
- arm64
- arm
ignore:
- goos: darwin
goarch: "386"
- goos: darwin
goarch: arm
- goos: windows
goarch: arm64
archives:
- name_template: "{{ tolower .ProjectName }}-{{ tolower .Os }}-{{ tolower .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format: binary
nfpms:
- file_name_template: "{{ tolower .ProjectName }}-{{ tolower .Os }}-{{ tolower .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
vendor: NewReleases
homepage: https://newreleases.io/
maintainer: Janoš Guljaš <janos@newreleases.io>
description: NewReleases command line client.
license: BSD
formats:
- deb
- rpm
bindir: /usr/bin
brews:
-
name: newreleases
commit_author:
name: NewReleases Team
email: support@newreleases.io
caveats: |
# Configuration
This tool needs to authenticate to NewReleases API using a secret Auth Key
that can be generated on the service settings web page
https://newreleases.io/settings/api-keys.
The key can be stored permanently by issuing interactive commands:
newreleases configure
or
newreleases get-auth-key
or it can be provided as the command line argument flag `--auth-key` on
every newreleases command execution.
# Usage
Refer to the complete list of all commands on the project's README on
https://github.com/newreleasesio/cli-go.
homepage: "https://github.com/newreleasesio/cli-go"
description: "A command line client for managing NewReleases projects."
license: "BSD-3-Clause"
test: |
system "#{bin}/newreleases version"
repository:
owner: newreleasesio
name: homebrew-cmd
token: "{{ .Env.HOMEBREW_CMD_TAP_TOKEN }}"