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

fix(charmbracelet/mods): follow up changes of mods v1.2.2 #20706

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions pkgs/charmbracelet/mods/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
packages:
- name: charmbracelet/mods@v1.2.1
- name: charmbracelet/mods@v1.2.2
- name: charmbracelet/mods
version: v0.1.0
version: v1.2.1
- name: charmbracelet/mods
version: v0.2.0
72 changes: 52 additions & 20 deletions pkgs/charmbracelet/mods/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,57 @@ packages:
repo_owner: charmbracelet
repo_name: mods
description: AI on the command line
asset: mods_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
overrides:
- goos: windows
format: zip
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
version_constraint: semver(">= 1.0.0")
version_constraint: "false"
version_overrides:
- version_constraint: semver("< 1.0.0")
- version_constraint: semver("<= 0.2.0")
asset: mods_{{.OS}}_{{.Arch}}.{{.Format}}
supported_envs:
- darwin
- linux
- amd64
format: tar.gz
windows_arm_emulation: true
complete_windows_ext: false
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: semver("<= 1.2.1")
asset: mods_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
complete_windows_ext: false
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: "true"
asset: mods_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
complete_windows_ext: false
files:
- name: mods
src: "{{.AssetWithoutExt}}/mods"
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
72 changes: 52 additions & 20 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.