Skip to content

Commit

Permalink
fix(snyk/cli): fix darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Nov 29, 2024
1 parent 6288852 commit 0fcf4dd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 70 deletions.
2 changes: 0 additions & 2 deletions pkgs/snyk/cli/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ packages:
version: v1.850.0
- name: snyk/cli
version: v1.804.0
- name: snyk/cli
version: v1.497.0
- name: snyk/cli
version: v1.496.0
42 changes: 8 additions & 34 deletions pkgs/snyk/cli/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,32 @@ packages:
- name: snyk
version_constraint: "false"
version_overrides:
- version_constraint: Version == "v1.1036.0"
no_asset: true
- version_constraint: semver("<= 1.496.0")
asset: snyk-{{.OS}}
format: raw
replacements:
darwin: mac
darwin: macos
windows: win
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
overrides:
- goos: darwin
format: tar.gz
asset: docker-{{.OS}}-signed-bundle.{{.Format}}
supported_envs:
- darwin
- windows
- amd64
- version_constraint: Version == "v1.497.0"
- version_constraint: semver("<= 1.804.0")
asset: snyk-{{.OS}}
format: raw
replacements:
darwin: mac
darwin: macos
windows: win
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
overrides:
- goos: darwin
format: tar.gz
asset: docker-{{.OS}}-signed-bundle.{{.Format}}
supported_envs:
- darwin
- windows
Expand All @@ -49,16 +42,11 @@ packages:
format: raw
replacements:
windows: win
darwin: macos
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
overrides:
- goos: darwin
format: tar.gz
asset: snyk-for-docker-desktop-{{.OS}}-{{.Arch}}.{{.Format}}
replacements:
amd64: x64
supported_envs:
- darwin
- windows
Expand All @@ -68,6 +56,7 @@ packages:
format: raw
replacements:
windows: win
darwin: macos
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
Expand All @@ -76,18 +65,12 @@ packages:
- goos: linux
goarch: arm64
asset: snyk-{{.OS}}-{{.Arch}}
- goos: darwin
format: tar.gz
asset: snyk-for-docker-desktop-{{.OS}}-{{.Arch}}.{{.Format}}
replacements:
amd64: x64
- version_constraint: Version == "v1.1036.0"
no_asset: true
- version_constraint: semver("<= 1.1196.0")
asset: snyk-{{.OS}}
format: raw
replacements:
windows: win
darwin: macos
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
Expand All @@ -96,11 +79,6 @@ packages:
- goos: linux
goarch: arm64
asset: snyk-{{.OS}}-{{.Arch}}
- goos: darwin
format: tar.gz
asset: snyk-for-docker-desktop-{{.OS}}-{{.Arch}}.{{.Format}}
replacements:
amd64: x64
- version_constraint: Version == "v1.1197.0"
asset: snyk-{{.OS}}
format: raw
Expand All @@ -120,6 +98,7 @@ packages:
format: raw
replacements:
windows: win
darwin: macos
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
Expand All @@ -128,11 +107,6 @@ packages:
- goos: linux
goarch: arm64
asset: snyk-{{.OS}}-{{.Arch}}
- goos: darwin
format: tar.gz
asset: snyk-for-docker-desktop-{{.OS}}-{{.Arch}}.{{.Format}}
replacements:
amd64: x64
- version_constraint: semver("<= 1.1229.0")
asset: snyk-{{.OS}}
format: raw
Expand Down
42 changes: 8 additions & 34 deletions registry.yaml

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

0 comments on commit 0fcf4dd

Please sign in to comment.