Skip to content

Commit

Permalink
Run jreleaserFullRelease to create files required by Homebrew (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
helpermethod committed Mar 17, 2022
1 parent 9881a42 commit 17d70f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Build artifacts
run: ./gradlew -Penv=stable -Prelease=${{ github.event.inputs.version }} clean assemble
- name: Release
run: ./gradlew -Penv=stable -Prelease=${{ github.event.inputs.version }} jreleaserRelease
run: ./gradlew -Penv=stable -Prelease=${{ github.event.inputs.version }} jreleaserFullRelease --exclude-announcer=twitter
- name: Update MongoDB
env:
MONGO_URL: ${{ secrets.MONGO_URL }}
Expand Down
4 changes: 2 additions & 2 deletions gradle/release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ 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
// binary artifacts are platform-dependent and require a platform identifier
// see https://github.com/jreleaser/jreleaser/issues/794 for more details
platform = "osx-x86_64"
}
brew {
Expand Down
4 changes: 2 additions & 2 deletions src/jreleaser/distributions/sdkman-cli/brew/README.md.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ sdk version
The output should look similar to this

```sh
SDKMAN {{version}}
```
SDKMAN {{projectVersion}}
```

0 comments on commit 17d70f0

Please sign in to comment.