Skip to content

Commit

Permalink
feat: windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jun 17, 2022
1 parent 60d97bc commit d5f58cd
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 15 deletions.
5 changes: 3 additions & 2 deletions pkgs/operator-framework/operator-sdk/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ packages:
- type: github_release
repo_owner: operator-framework
repo_name: operator-sdk
asset: "operator-sdk_{{.OS}}_{{.Arch}}"
description: SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding
rosetta2: true
format: raw
description: SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding
supported_if: GOOS != "windows"
asset: "operator-sdk_{{.OS}}_{{.Arch}}"
3 changes: 2 additions & 1 deletion pkgs/particledecay/kconf/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ packages:
- type: github_release
repo_owner: particledecay
repo_name: kconf
asset: "kconf-{{.OS}}-{{.Arch}}-{{trimV .Version}}.tar.gz"
description: Manage multiple kubeconfigs easily
supported_if: GOOS != "windows"
asset: "kconf-{{.OS}}-{{.Arch}}-{{trimV .Version}}.tar.gz"
replacements:
darwin: Darwin
linux: Linux
Expand Down
7 changes: 4 additions & 3 deletions pkgs/peco/peco/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ packages:
repo_name: peco
asset: "peco_{{.OS}}_{{.Arch}}.{{.Format}}"
description: Simplistic interactive filtering tool
supported_if: not (GOOS == "windows" and GOARCH == "arm64")
files:
- name: peco
src: "peco_{{.OS}}_{{.Arch}}/peco"
format: tar.gz
format: zip
format_overrides:
- goos: darwin
format: zip
- goos: linux
format: tar.gz
9 changes: 6 additions & 3 deletions registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -6418,6 +6418,7 @@
"repo_name": "operator-sdk",
"repo_owner": "operator-framework",
"rosetta2": true,
"supported_if": "GOOS != \"windows\"",
"type": "github_release"
},
{
Expand Down Expand Up @@ -6514,6 +6515,7 @@
},
"repo_name": "kconf",
"repo_owner": "particledecay",
"supported_if": "GOOS != \"windows\"",
"type": "github_release"
},
{
Expand Down Expand Up @@ -6546,15 +6548,16 @@
"src": "peco_{{.OS}}_{{.Arch}}/peco"
}
],
"format": "tar.gz",
"format": "zip",
"format_overrides": [
{
"format": "zip",
"goos": "darwin"
"format": "tar.gz",
"goos": "linux"
}
],
"repo_name": "peco",
"repo_owner": "peco",
"supported_if": "not (GOOS == \"windows\" and GOARCH == \"arm64\")",
"type": "github_release"
},
{
Expand Down
15 changes: 9 additions & 6 deletions registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4283,10 +4283,11 @@ packages:
- type: github_release
repo_owner: operator-framework
repo_name: operator-sdk
asset: "operator-sdk_{{.OS}}_{{.Arch}}"
description: SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding
rosetta2: true
format: raw
description: SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding
supported_if: GOOS != "windows"
asset: "operator-sdk_{{.OS}}_{{.Arch}}"
- type: github_release
repo_owner: orf
repo_name: gping
Expand Down Expand Up @@ -4346,8 +4347,9 @@ packages:
- type: github_release
repo_owner: particledecay
repo_name: kconf
asset: "kconf-{{.OS}}-{{.Arch}}-{{trimV .Version}}.tar.gz"
description: Manage multiple kubeconfigs easily
supported_if: GOOS != "windows"
asset: "kconf-{{.OS}}-{{.Arch}}-{{trimV .Version}}.tar.gz"
replacements:
darwin: Darwin
linux: Linux
Expand All @@ -4372,13 +4374,14 @@ packages:
repo_name: peco
asset: "peco_{{.OS}}_{{.Arch}}.{{.Format}}"
description: Simplistic interactive filtering tool
supported_if: not (GOOS == "windows" and GOARCH == "arm64")
files:
- name: peco
src: "peco_{{.OS}}_{{.Arch}}/peco"
format: tar.gz
format: zip
format_overrides:
- goos: darwin
format: zip
- goos: linux
format: tar.gz
- type: github_release
repo_owner: pen-lang
repo_name: pen
Expand Down

0 comments on commit d5f58cd

Please sign in to comment.