@@ -13,7 +13,7 @@ builds:
13
13
- linux
14
14
- windows
15
15
- darwin
16
- binary : rq
16
+ binary : rh
17
17
archives :
18
18
- replacements :
19
19
darwin : Darwin
@@ -33,120 +33,22 @@ changelog:
33
33
- ' ^test:'
34
34
brews :
35
35
-
36
- # Name template of the recipe
37
- # Default to project name
38
- # name: myproject
39
-
40
- # IDs of the archives to use.
41
- # Defaults to all.
42
- # ids:
43
- # - foo
44
- # - bar
45
-
46
- # GOARM to specify which 32-bit arm version to use if there are multiple versions
47
- # from the build section. Brew formulas support atm only one 32-bit version.
48
- # Default is 6 for all artifacts or each id if there a multiple versions.
49
36
goarm : 6
50
-
51
- # NOTE: make sure the url_template, the token and given repo (github or gitlab) owner and name are from the
52
- # same kind. We will probably unify this in the next major version like it is done with scoop.
53
-
54
- # GitHub/GitLab repository to push the formula to
55
- # Gitea is not supported yet, but the support coming
56
37
tap :
57
38
owner : aaronvb
58
- name : homebrew-rq
59
- # Optionally a token can be provided, if it differs from the token provided to GoReleaser
60
- # token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
61
-
62
- # Template for the url which is determined by the given Token (github or gitlab)
63
- # Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
64
- # Default for gitlab is "https://gitlab.com/<repo_owner>/<repo_name>/-/releases/{{ .Tag }}/downloads/{{ .ArtifactName }}"
65
- # Default for gitea is "https://gitea.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
39
+ name : homebrew-request_hole
66
40
url_template : " https://github.com/aaronvb/request_hole/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
67
-
68
- # Allows you to set a custom download strategy. Note that you'll need
69
- # to implement the strategy and add it to your tap repository.
70
- # Example: https://docs.brew.sh/Formula-Cookbook#specifying-the-download-strategy-explicitly
71
- # Default is empty.
72
- # download_strategy: CurlDownloadStrategy.
73
-
74
- # Allows you to add a custom require_relative at the top of the formula template
75
- # Default is empty
76
- # custom_require: custom_download_strategy
77
-
78
- # Git author used to commit to the repository.
79
- # Defaults are shown.
80
41
commit_author :
81
42
name : Aaron Van Bokhoven
82
43
83
-
84
- # Folder inside the repository to put the formula.
85
- # Default is the root folder.
86
44
folder : Formula
87
-
88
- # Caveats for the user of your binary.
89
- # Default is empty.
90
- # caveats: "How to use this binary"
91
-
92
- # Your app's homepage.
93
- # Default is empty.
94
45
homepage : " https://github.com/aaronvb/request_hole"
95
-
96
- # Your app's description.
97
- # Default is empty.
98
46
description : " Request Hole is a command line tool for creating a temporary endpoint."
99
-
100
- # SPDX identifier of your app's license.
101
- # Default is empty.
102
47
license : " MIT"
103
-
104
- # Setting this will prevent goreleaser to actually try to commit the updated
105
- # formula - instead, the formula file will be stored on the dist folder only,
106
- # leaving the responsibility of publishing it to the user.
107
- # If set to auto, the release will not be uploaded to the homebrew tap
108
- # in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
109
- # Default is false.
110
- # skip_upload: true
111
-
112
- # Custom block for brew.
113
- # Can be used to specify alternate downloads for devel or head releases.
114
- # Default is empty.
115
- # custom_block: |
116
- # head "https://github.com/some/package.git"
117
- # ...
118
-
119
- # Packages your package depends on.
120
48
dependencies :
121
49
- name : go
122
50
type : optional
123
-
124
- # Packages that conflict with your package.
125
- # conflicts:
126
- # - svn
127
- # - bash
128
-
129
- # Specify for packages that run as a service.
130
- # Default is empty.
131
- # plist: |
132
- # <?xml version="1.0" encoding="UTF-8"?>
133
- # ...
134
-
135
- # So you can `brew test` your formula.
136
- # Default is empty.
137
51
test : |
138
- system "#{bin}/rq version"
139
- ...
140
-
141
- # Custom install script for brew.
142
- # Default is 'bin.install "program"'.
52
+ system "#{bin}/rh version"
143
53
install : |
144
- bin.install "program"
145
- ...
146
-
147
- # Custom post_install script for brew.
148
- # Could be used to do any additional work after the "install" script
149
- # Default is empty.
150
- # post_install: |
151
- # etc.install "app-config.conf"
152
- # ...
54
+ bin.install "rh"
0 commit comments