Skip to content

Commit

Permalink
Merge pull request #7542 from aquaproj/fix/zls-zst
Browse files Browse the repository at this point in the history
fix(zigtools/zls): fix the archive format
  • Loading branch information
suzuki-shunsuke committed Nov 2, 2022
2 parents b89be14 + c98c5a4 commit 89530eb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
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.

0 comments on commit 89530eb

Please sign in to comment.