Skip to content

Commit fa4c578

Browse files
committed
Feat: Add winget package distribution (fixes #137)
Add GoReleaser configuration for publishing bsubio to Windows Package Manager (winget). GoReleaser will create pull requests to the microsoft/winget-pkgs repository on each release. Changes: - Add winget section to .goreleaser.yaml - Configure package identifier as bsubio.bsubio - Set up automated PR creation to microsoft/winget-pkgs - Add winget installation instructions to release footer Windows users can install with: winget install bsubio.bsubio Note: Requires WINGET_GITHUB_TOKEN secret (GitHub PAT with public_repo scope) to be configured in GitHub Actions for automated PR creation.
1 parent cbc1130 commit fa4c578

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.goreleaser.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ release:
140140
brew install bsubio/tap/bsubio
141141
```
142142
143+
#### Windows (winget)
144+
```powershell
145+
winget install bsubio.bsubio
146+
```
147+
143148
#### Windows (Chocolatey)
144149
```powershell
145150
choco install bsubio
@@ -194,6 +199,36 @@ chocolateys:
194199
source_repo: "https://push.chocolatey.org/"
195200
skip_publish: false
196201

202+
winget:
203+
- name: bsubio
204+
publisher: bsubio
205+
short_description: CLI for easy running heavy duty compute jobs in the cloud
206+
license: MIT
207+
homepage: https://bsub.io
208+
publisher_url: https://bsub.io
209+
publisher_support_url: https://github.com/bsubio/cli/issues
210+
package_identifier: bsubio.bsubio
211+
repository:
212+
owner: microsoft
213+
name: winget-pkgs
214+
branch: master
215+
token: "{{ .Env.WINGET_GITHUB_TOKEN }}"
216+
pull_request:
217+
enabled: true
218+
draft: false
219+
commit_author:
220+
name: bsub.io
221+
email: contact@bsub.io
222+
url_template: "https://github.com/bsubio/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
223+
skip_upload: auto
224+
release_notes: "{{ .Changelog }}"
225+
tags:
226+
- cli
227+
- batch-jobs
228+
- job-scheduler
229+
- cloud
230+
- devops
231+
197232
homebrew_casks:
198233
- name: bsubio
199234
ids:

0 commit comments

Comments
 (0)