Skip to content

Commit

Permalink
feat: build generator support darwin/arm64 (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
adohe committed Mar 26, 2024
1 parent 0eb0494 commit 3f01e94
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -318,4 +318,4 @@ require (
sigs.k8s.io/yaml v1.3.0 // indirect
)

replace kcl-lang.io/kpm => github.com/KusionStack/kpm v0.8.3
replace kcl-lang.io/kpm => github.com/KusionStack/kpm v0.8.4
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
github.com/KusionStack/kpm v0.8.3 h1:3C0Alj79Rp3Xn3QLwh0IBlS5in5XMmB5Oasx3wqvwig=
github.com/KusionStack/kpm v0.8.3/go.mod h1:3atE1tEbsSPaAuKslkADH1HTDi7SMWlDWllmuk2XsBA=
github.com/KusionStack/kpm v0.8.4 h1:6CfgJ4jIeLkbHyELct/dBu/tmlhuvhv8QcP8mJ4/bE8=
github.com/KusionStack/kpm v0.8.4/go.mod h1:3atE1tEbsSPaAuKslkADH1HTDi7SMWlDWllmuk2XsBA=
github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ=
github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE=
github.com/MarvinJWendt/testza v0.1.0/go.mod h1:7AxNvlfeHP7Z/hDQ5JtE3OKYT3XFUeLCDE2DQninSqs=
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/mod/mod_push.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ var (
// denotes the latest stable version of a module.
const LatestVersion = "latest"

// All supported platforms, to reduce module package size, not support arm64 for now.
// All supported platforms, to reduce module package size, only support widely used os and arch.
var supportPlatforms = []string{
"linux/amd64", "darwin/amd64", "windows/amd64",
"linux/amd64", "darwin/amd64", "windows/amd64", "darwin/arm64",
}

// PushModFlags directly reflect the information that CLI is gathering via flags. They will be converted to
Expand Down

0 comments on commit 3f01e94

Please sign in to comment.