Skip to content

[hooks] Filter hooks by matrix.platform when platform selection is in effect #1779

@aalmiray

Description

@aalmiray

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem (link to git repository is ideal)
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. git clone https://github.com/jreleaser/helloworld-go.git
  2. cd helloworld-go
  3. jreleaser assemble --select-current-platform

Expected Behaviour

A single binary and archive should be created

Actual Behaviour

All binaries defined in the matrix are compiled and a single archive is created.

Environment Information

  • Operating System: N/A
  • JReleaser Version: 1.16.0
  • JDK Version: N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedIssue has been released

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions