Skip to content
This repository was archived by the owner on Apr 10, 2019. It is now read-only.

Commit d5a0710

Browse files
committed
Disable CGO for releases.
1 parent 317b1bd commit d5a0710

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Only build packages for tagged releases
44
TAG="$(git tag -l --points-at HEAD)"
55

6+
export CGO_ENABLED=0
7+
68
GO_VERSION="$(go version | awk '{print $3}' | cut -d. -f1-2)"
79

810
if [ "$GO_VERSION" != "go1.9" ]; then

0 commit comments

Comments
 (0)