Skip to content

Commit

Permalink
Make customized env effective (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfogre authored Apr 28, 2020
1 parent 68d27a0 commit 262a495
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func (b Builder) Build(ctx context.Context, outputFile string) error {
"-ldflags", "-w -s", // trim debug symbols
"-trimpath",
)
cmd.Env = env
err = buildEnv.runCommand(ctx, cmd, 5*time.Minute)
if err != nil {
return err
Expand Down

0 comments on commit 262a495

Please sign in to comment.