Skip to content

on_intel or on_arm cannot include url #5347

@5ouma

Description

@5ouma

What happened?

Since #4822, on_intel and on_arm are used instead of if Hardware::CPU.intel? and if Hardware::CPU.arm?.
However, they can't include the url property.

How can we reproduce this?

See https://github.com/5ouma/homebrew-formula/pull/32/files

goreleaser version

____       ____      _
 / ___| ___ |  _ \ ___| | ___  __ _ ___  ___ _ __
| |  _ / _ \| |_) / _ \ |/ _ \/ _` / __|/ _ \ '__|
| |_| | (_) |  _ <  __/ |  __/ (_| \__ \  __/ |
 \____|\___/|_| \_\___|_|\___|\__,_|___/\___|_|
goreleaser: Deliver Go Binaries as fast and easily as possible
https://goreleaser.com

GitVersion:    2.4.8
GitCommit:     377981ebd76e1bbb0dbe07d5428239ec8c5381a8
GitTreeState:  clean
BuildDate:     2024-11-22T12:56:52
BuiltBy:       homebrew
GoVersion:     go1.23.3
Compiler:      gc
ModuleSum:     unknown
Platform:      darwin/arm64

GoReleaser Check

  • goreleaser check shows no errors

Search

  • I did search for other open and closed issues before opening this

Supporter

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

I ran on GitHub Actions.

Error:

FormulaAudit/ComponentsOrder: `on_intel` cannot include `url`. Only `livecheck`, `keg_only`, `disable!`, `deprecate!`, `depends_on`, `conflicts_with`, `fails_with`, `resource`, `patch`, `on_intel`, `on_arm`, `on_macos`, `on_linux`, `on_system`, `on_sequoia`, `on_sonoma`, `on_ventura`, `on_monterey`, `on_big_sur`, `on_catalina`, `on_mojave`, `on_high_sierra`, `on_sierra` and `on_el_capitan` are allowed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions