Skip to content

Support specifying additional url parameters in Homebrew Cask #5797

@caarlos0

Description

@caarlos0

When adding the new Casks feature, I missed adding the parameters that the url stanza allows.

We should add them.

Files to change:

  • pkg/config/config.go
  • internal/pipe/casks/cask.go (see func dataFor)
  • internal/pipe/casks/templates/*_packages.rb
  • www/docs/customization/homebrew_casks.md

It's also worth looking into internal/pipe/brew/templates/*_packages.rb, as it had support for headers already.

Discussed in https://github.com/orgs/goreleaser/discussions/5796

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions