Skip to content

Commit

Permalink
feat(protoc-gen-go-aip-test): bump to 0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
odsod committed Mar 29, 2022
1 parent 1789251 commit 1f34d71
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions tools/sgprotocgengoaiptest/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

const (
version = "0.4.4"
version = "0.7.2"
name = "protoc-gen-go-aip-test"
)

Expand All @@ -25,18 +25,13 @@ func Command(ctx context.Context, args ...string) *exec.Cmd {
func PrepareCommand(ctx context.Context) error {
binDir := sg.FromToolsDir(name, version)
binary := filepath.Join(binDir, name)
hostOS := runtime.GOOS
hostArch := runtime.GOARCH
if hostArch == sgtool.AMD64 {
hostArch = sgtool.X8664
}
binURL := fmt.Sprintf(
"https://github.com/einride/protoc-gen-go-aip-test"+
"/releases/download/v%s/protoc-gen-go-aip-test_%s_%s_%s.tar.gz",
version,
version,
hostOS,
hostArch,
runtime.GOOS,
runtime.GOARCH,
)
if err := sgtool.FromRemote(
ctx,
Expand Down

0 comments on commit 1f34d71

Please sign in to comment.