Skip to content

Commit

Permalink
Disable cgo when build binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
dpb587 committed Jan 31, 2019
1 parent b86a95c commit d92d5f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ mkdir -p tmp
commit=$( git rev-parse HEAD | cut -c-10 )$( git diff-index --quiet HEAD -- || echo "+dirty" )
built=$( date -u +%Y-%m-%dT%H:%M:%S+00:00 )

export CGO_ENABLED=0

for cli in $cli_list ; do
[ -e cli/$cli/$cli.go ] || continue

Expand Down
8 changes: 8 additions & 0 deletions docs/release/v0.15.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: v0.15.0
weight: 15000
---

Bug Fixes

* Build binaries with `CGO_ENABLED=0` for improved compatibility.

0 comments on commit d92d5f3

Please sign in to comment.