Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Commit 4b33a7c

Browse files
authored
Publish brew tap formula using goreleaser (#339)
* Add brew formula publish to goreleaser config * Cleanup brew config
1 parent d7a15a3 commit 4b33a7c

1 file changed

Lines changed: 57 additions & 31 deletions

File tree

‎.goreleaser.yml‎

Lines changed: 57 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,60 @@ builds:
99
goarch:
1010
- amd64
1111

12-
archive:
13-
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
14-
replacements:
15-
darwin: Darwin
16-
linux: Linux
17-
windows: Windows
18-
amd64: x86_64
19-
format: tar.gz
20-
format_overrides:
21-
- goos: windows
22-
format: zip
23-
files:
24-
- none*
25-
26-
snapcraft:
27-
name_template: "qlik-{{ .ProjectName }}-{{ .Version }}-{{ .Arch }}"
28-
name: qlik-corectl
29-
30-
publish: true
31-
32-
summary: A command line interface tool for the Qlik Associative Engine
33-
description: |
34-
Qlik Core Control (corectl) is a tool that delivers a
35-
command line interface (CLI) for the Qlik Associative Engine.
36-
With corectl you can interact with your apps, objects, and data.
37-
grade: stable
38-
confinement: strict
39-
40-
apps:
41-
corectl:
42-
plugs: ["home", "network"]
12+
archives:
13+
-
14+
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
15+
replacements:
16+
darwin: Darwin
17+
linux: Linux
18+
windows: Windows
19+
amd64: x86_64
20+
format: tar.gz
21+
format_overrides:
22+
- goos: windows
23+
format: zip
24+
files:
25+
- none*
26+
27+
snapcrafts:
28+
-
29+
name_template: "qlik-{{ .ProjectName }}-{{ .Version }}-{{ .Arch }}"
30+
name: qlik-corectl
31+
32+
publish: true
33+
34+
summary: A command line interface tool for the Qlik Associative Engine
35+
description: |
36+
Qlik Core Control (corectl) is a tool that delivers a
37+
command line interface (CLI) for the Qlik Associative Engine.
38+
With corectl you can interact with your apps, objects, and data.
39+
grade: stable
40+
confinement: strict
41+
42+
apps:
43+
corectl:
44+
plugs: ["home", "network"]
45+
46+
brews:
47+
-
48+
name: qlik-corectl
49+
50+
github:
51+
owner: qlik-oss
52+
name: homebrew-taps
53+
54+
commit_author:
55+
name: qlikossbuild
56+
email: qlikossbuild@qlik.com
57+
58+
folder: Formula
59+
60+
homepage: "https://github.com/qlik-oss/corectl"
61+
62+
description: "corectl is a CLI tool for using Qlik Associative Engine."
63+
64+
test: |
65+
assert_equal "corectl version: #{version}", shell_output("#{bin}/corectl version").chomp
66+
67+
install: |
68+
bin.install "corectl"

0 commit comments

Comments
 (0)
⌂ 换网址