Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add homebrew config in jreleaser #435

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
with:
java-version: '21'
distribution: 'graalvm'
components: 'native-image'
native-image-musl: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -98,7 +97,6 @@ jobs:
with:
java-version: '21'
distribution: 'graalvm'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Tests
Expand Down Expand Up @@ -186,7 +184,6 @@ jobs:
version: 'latest'
java-version: '21'
distribution: 'graalvm'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Show GraalVM info
Expand Down Expand Up @@ -280,7 +277,6 @@ jobs:
with:
java-version: '21'
distribution: 'graalvm'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Tests
Expand Down Expand Up @@ -325,7 +321,7 @@ jobs:

release:
name: Release
if: "contains(github.event.head_commit.message, '[release]') && github.event.ref=='refs/heads/master'"
if: "contains(github.event.head_commit.message, '[release]')"
needs: [ linux-image, mac-image, mac-arm64-image, windows-image ]
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -353,7 +349,7 @@ jobs:
- name: Run JReleaser
uses: jreleaser/release-action@v2
env:
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.GH_JRELEASER_TOKEN }}
JRELEASER_PROJECT_VERSION: ${{ steps.version.outputs.VERSION }}

- name: JReleaser release output
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.3
0.10.4-A0
15 changes: 13 additions & 2 deletions jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project:
longDescription: Tower CLI tool to manage Tower from the command line
website: https://github.com/seqeralabs/tower-cli
authors:
- Seqera Labs
- Seqera
license: MPL-2.0
extraProperties:
inceptionYear: 2021
Expand Down Expand Up @@ -105,4 +105,15 @@ distributions:
type: SINGLE_JAR
artifacts:
- path: "tw-jar/tw.jar"
transform: "{{distributionName}}.jar"
transform: "{{distributionName}}.jar"

packagers:
brew:
active: ALWAYS
continueOnError: false
multiPlatform: true
repository:
active: RELEASE
tagName: '{{distributionName}}-{{tagName}}'
branch: HEAD
commitMessage: '{{distributionName}} {{tagName}}'
Loading