Skip to content

Commit

Permalink
Add platform to appease Homebrew packager (#1070)
Browse files Browse the repository at this point in the history
* Add platform to appease Homebrew packager
* Add explanatory comment
  • Loading branch information
Oliver Weiler authored Mar 14, 2022
1 parent bd2558a commit 9881a42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gradle/release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jreleaser {
distributionType = 'BINARY'
artifact {
path = "build/distributions/{{distributionName}}-${sdkmanVersion}.zip"
// the platform has only been added because the Homebrew packager requires it
// the resulting ZIP file is actually platform-independent
platform = "osx-x86_64"
}
brew {
active = 'ALWAYS'
Expand Down

0 comments on commit 9881a42

Please sign in to comment.