Skip to content

Commit

Permalink
Add winget manifest publish
Browse files Browse the repository at this point in the history
- Default target is spring-cli-projects/winget-spring-cli
- Fixes #180
  • Loading branch information
jvalkeal committed May 9, 2024
1 parent a45ff2b commit af664ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/jr-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
env:
JRELEASER_GITHUB_TOKEN: ${{ secrets.SPRING_CLI_REPO_JR_TOKEN }}
JRELEASER_HOMEBREW_GITHUB_TOKEN: ${{ secrets.SPRING_CLI_ORG_JR_TOKEN }}
JRELEASER_WINGET_GITHUB_TOKEN: ${{ secrets.SPRING_CLI_ORG_JR_TOKEN }}
JRELEASER_PROJECT_VERSION: ${{ inputs.version }}

- name: JReleaser release output
Expand Down
10 changes: 10 additions & 0 deletions jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,16 @@ distributions:
platform: 'windows-x86_64'
spring-cli-installer:
type: NATIVE_PACKAGE
winget:
active: RELEASE
continueOnError: true
package:
name: spring-cli
repository:
active: ALWAYS
owner: spring-cli-projects
name: winget-spring-cli
commitMessage: 'spring-cli {{tagName}}'
artifacts:
- path: '{{jpackageDir}}/spring_{{projectVersionNumber}}-1_amd64.deb'
transform: '{{distributionName}}/{{distributionName}}_{{projectVersion}}-1_amd64.deb'
Expand Down

0 comments on commit af664ae

Please sign in to comment.