From 63b7d292c175ba99d6699f71436bc0f64bec4286 Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Mon, 7 Mar 2022 14:44:12 +0800 Subject: [PATCH] chore: update goctl version to 1.3.3, change docker build temp dir (#1621) --- tools/goctl/docker/template.go | 2 +- tools/goctl/internal/version/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/goctl/docker/template.go b/tools/goctl/docker/template.go index 929b8026..b69b9722 100644 --- a/tools/goctl/docker/template.go +++ b/tools/goctl/docker/template.go @@ -16,7 +16,7 @@ ENV CGO_ENABLED 0 ENV GOOS linux {{if .Chinese}}ENV GOPROXY https://goproxy.cn,direct {{end}} -WORKDIR /build/zero +WORKDIR /build ADD go.mod . ADD go.sum . diff --git a/tools/goctl/internal/version/version.go b/tools/goctl/internal/version/version.go index e8b6cc77..02b4aae5 100644 --- a/tools/goctl/internal/version/version.go +++ b/tools/goctl/internal/version/version.go @@ -6,7 +6,7 @@ import ( ) // BuildVersion is the version of goctl. -const BuildVersion = "1.3.2" +const BuildVersion = "1.3.3" var tag = map[string]int{"pre-alpha": 0, "alpha": 1, "pre-bata": 2, "beta": 3, "released": 4, "": 5}