@@ -31,3 +31,123 @@ changelog:
31
31
exclude :
32
32
- ' ^docs:'
33
33
- ' ^test:'
34
+ brews :
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
+ 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
+ tap :
57
+ 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 }}"
66
+ url_template : " https://github.com/<repo_owner>/<repo_name>/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
+ commit_author :
81
+ name : Aaron Van Bokhoven
82
+
83
+
84
+ # Folder inside the repository to put the formula.
85
+ # Default is the root folder.
86
+ 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
+ homepage : " https://github.com/aaronvb/request_hole"
95
+
96
+ # Your app's description.
97
+ # Default is empty.
98
+ 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
+ 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
+ # dependencies:
121
+ # - name: git
122
+ # - name: zsh
123
+ # type: optional
124
+
125
+ # Packages that conflict with your package.
126
+ # conflicts:
127
+ # - svn
128
+ # - bash
129
+
130
+ # Specify for packages that run as a service.
131
+ # Default is empty.
132
+ # plist: |
133
+ # <?xml version="1.0" encoding="UTF-8"?>
134
+ # ...
135
+
136
+ # So you can `brew test` your formula.
137
+ # Default is empty.
138
+ # test: |
139
+ # system "#{bin}/program --version"
140
+ # ...
141
+
142
+ # Custom install script for brew.
143
+ # Default is 'bin.install "program"'.
144
+ install : |
145
+ bin.install "program"
146
+ ...
147
+
148
+ # Custom post_install script for brew.
149
+ # Could be used to do any additional work after the "install" script
150
+ # Default is empty.
151
+ # post_install: |
152
+ # etc.install "app-config.conf"
153
+ # ...
0 commit comments