Skip to content

Commit 5765df1

Browse files
lucasjinreal111hh111Pierre Champion | Drakirus
authored
remove force env overwritten (#195)
* remove force env overwritten * Update bumpversion.go Co-authored-by: lucasjin <aa@qq.com> Co-authored-by: Pierre Champion | Drakirus <pierrescalade@gmail.com>
1 parent 90a56df commit 5765df1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/bumpversion.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,10 @@ func upgradeGoFlutter(targetOS string) (err error) {
5252
}
5353

5454
cmdGoGetU := exec.Command(build.GoBin(), "get", "-u", "-d", "github.com/go-flutter-desktop/go-flutter"+buildOrRunGoFlutterBranch)
55-
cmdGoGetU.Dir = filepath.Join(wd, build.BuildPath)
5655
cmdGoGetU.Env = append(os.Environ(),
57-
"GOPROXY=direct", // github.com/golang/go/issues/32955 (allows '/' in branch name)
5856
"GO111MODULE=on",
5957
)
58+
cmdGoGetU.Dir = filepath.Join(wd, build.BuildPath)
6059
cmdGoGetU.Stderr = os.Stderr
6160
cmdGoGetU.Stdout = os.Stdout
6261

0 commit comments

Comments
 (0)