We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support the templating in the install section for the brew
brew
we generate binaries in the following format: binaryName_{{ .Os }}_{{ .Arch }}
binaryName_{{ .Os }}_{{ .Arch }}
and when creating the brew formula to users to install we would like to rename the binary in the install time to just binaryName
binaryName
so in the brew syntax it is
bin.install "binaryName_{{ .Os }}_{{ .Arch }}" => "binaryName"
however when you add this in the gorelreaser config
... brews: ... install: | bin.install "binaryName_{{ .Os }}_{{ .Arch }}" => "binaryName"
we receive an error
error=template: tmpl:16:33: executing "tmpl" at <.Os>: map has no entry for key "Os"
the install section in the brew should accept template variables
n/a
thank you
The text was updated successfully, but these errors were encountered:
@cpanato please check #3593
Sorry, something went wrong.
@caarlos0 please let me know when you release it :)
@cpanato probably middle december, I plan to get nightlies for goreleaser oss as well, so you can use those meanwhile if you want
caarlos0
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
support the templating in the install section for the
brew
we generate binaries in the following format:
binaryName_{{ .Os }}_{{ .Arch }}
and when creating the brew formula to users to install we would like to rename the binary in the install time to just
binaryName
so in the brew syntax it is
bin.install "binaryName_{{ .Os }}_{{ .Arch }}" => "binaryName"
however when you add this in the gorelreaser config
we receive an error
Describe the solution you'd like
the install section in the brew should accept template variables
Describe alternatives you've considered
n/a
Search
Code of Conduct
Additional context
thank you
The text was updated successfully, but these errors were encountered: