Skip to content

Commit

Permalink
refactor(snyk/cli): simplify version_overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Nov 29, 2024
1 parent 0fcf4dd commit cb7633d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 168 deletions.
84 changes: 0 additions & 84 deletions pkgs/snyk/cli/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,6 @@ packages:
version_overrides:
- version_constraint: Version == "v1.1036.0"
no_asset: true
- version_constraint: semver("<= 1.496.0")
asset: snyk-{{.OS}}
format: raw
replacements:
darwin: macos
windows: win
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 1.804.0")
asset: snyk-{{.OS}}
format: raw
replacements:
darwin: macos
windows: win
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 1.850.0")
asset: snyk-{{.OS}}
format: raw
Expand All @@ -51,62 +23,6 @@ packages:
- darwin
- windows
- amd64
- version_constraint: semver("<= 1.1035.0")
asset: snyk-{{.OS}}
format: raw
replacements:
windows: win
darwin: macos
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
overrides:
- goos: linux
goarch: arm64
asset: snyk-{{.OS}}-{{.Arch}}
- version_constraint: semver("<= 1.1196.0")
asset: snyk-{{.OS}}
format: raw
replacements:
windows: win
darwin: macos
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
overrides:
- goos: linux
goarch: arm64
asset: snyk-{{.OS}}-{{.Arch}}
- version_constraint: Version == "v1.1197.0"
asset: snyk-{{.OS}}
format: raw
replacements:
darwin: macos
windows: win
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
overrides:
- goos: linux
goarch: arm64
asset: snyk-{{.OS}}-{{.Arch}}
- version_constraint: Version == "v1.1198.0"
asset: snyk-{{.OS}}
format: raw
replacements:
windows: win
darwin: macos
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
overrides:
- goos: linux
goarch: arm64
asset: snyk-{{.OS}}-{{.Arch}}
- version_constraint: semver("<= 1.1229.0")
asset: snyk-{{.OS}}
format: raw
Expand Down
84 changes: 0 additions & 84 deletions registry.yaml

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

0 comments on commit cb7633d

Please sign in to comment.