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(zigtools/zls): fix the archive format #7542

Merged
merged 2 commits into from
Nov 2, 2022
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pkgs/zigtools/zls/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
packages:
- name: zigtools/zls@0.9.0
- name: zigtools/zls@0.10.0
- name: zigtools/zls
version: 0.9.0
13 changes: 11 additions & 2 deletions pkgs/zigtools/zls/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,24 @@ packages:
- type: github_release
repo_owner: zigtools
repo_name: zls
asset: "{{.Arch}}-{{.OS}}.tar.xz"
description: Zig LSP implementation + Zig Language Server
asset: "{{.Arch}}-{{.OS}}.{{.Format}}"
replacements:
amd64: x86_64
arm64: aarch64
darwin: macos
supported_envs:
- darwin
- amd64
rosetta2: true
files:
- name: zls
src: bin/zls
version_constraint: semver(">= 0.10.0")
# Archive format was changed from xz to zst
# https://github.com/aquaproj/aqua-registry/pull/7540#issuecomment-1299556748
# darwin/arm64 was supported
format: tar.zst
version_overrides:
- version_constraint: "true"
format: tar.xz
rosetta2: true
13 changes: 11 additions & 2 deletions registry.yaml

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