Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit af664ae

Browse files
committed
Add winget manifest publish
- Default target is spring-cli-projects/winget-spring-cli - Fixes #180
1 parent a45ff2b commit af664ae

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/jr-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
env:
5151
JRELEASER_GITHUB_TOKEN: ${{ secrets.SPRING_CLI_REPO_JR_TOKEN }}
5252
JRELEASER_HOMEBREW_GITHUB_TOKEN: ${{ secrets.SPRING_CLI_ORG_JR_TOKEN }}
53+
JRELEASER_WINGET_GITHUB_TOKEN: ${{ secrets.SPRING_CLI_ORG_JR_TOKEN }}
5354
JRELEASER_PROJECT_VERSION: ${{ inputs.version }}
5455

5556
- name: JReleaser release output

jreleaser.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,16 @@ distributions:
143143
platform: 'windows-x86_64'
144144
spring-cli-installer:
145145
type: NATIVE_PACKAGE
146+
winget:
147+
active: RELEASE
148+
continueOnError: true
149+
package:
150+
name: spring-cli
151+
repository:
152+
active: ALWAYS
153+
owner: spring-cli-projects
154+
name: winget-spring-cli
155+
commitMessage: 'spring-cli {{tagName}}'
146156
artifacts:
147157
- path: '{{jpackageDir}}/spring_{{projectVersionNumber}}-1_amd64.deb'
148158
transform: '{{distributionName}}/{{distributionName}}_{{projectVersion}}-1_amd64.deb'

0 commit comments

Comments
 (0)