Skip to content

Commit

Permalink
chore: Add winget
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Blackman committed Dec 27, 2023
1 parent 7b0a178 commit dfe7b72
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,24 @@ nix:
installManPage ./manpages/oatmeal.1.gz
installShellCompletion ./completions/*
winget:
- name: oatmeal
publisher: dustinblackman
license: MIT
homepage: https://github.com/dustinblackman/oatmeal
short_description: Terminal UI to chat with large language models (LLM) using backends such as Ollama, and direct integrations with your favourite editor like Neovim!
repository:
owner: dustinblackman
name: winget-pkgs
branch: "dustinblackman-{{.Version}}"
pull_request:
enabled: true
draft: true
base:
owner: microsoft
name: winget-pkgs
branch: master

dockers:
- image_templates:
- "ghcr.io/dustinblackman/oatmeal:v{{ .Version }}-amd64"
Expand Down
1 change: 1 addition & 0 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ fd -t f . './dist-gh' | grep -v -i -E '(dwp|dSYM|pdb)' | xargs -L1 chmod +x
# Release to Github
AUR_KEY=$(cat ~/.ssh/aur) RPM_KEY="$HOME/.gpg/yum-private.key" cargo gha goreleaser --clean
cargo bin git-cliff --latest --strip header | cargo bin dprint fmt --stdin md | cargo gha gh release edit "v$OM_VERSION" --notes-file -
cargo gha gh pr list -R microsoft/winget-pkgs -A dustinblackman --state open --json number | jq -rc '.[] | .number' | while read f; do open "https://github.com/microsoft/winget-pkgs/pull/$f"; done

# Release to package managers not supported by GoReleaser.
cargo publish
Expand Down

0 comments on commit dfe7b72

Please sign in to comment.