Skip to content

Commit

Permalink
Disable cgo during build (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
harryzcy authored Nov 4, 2023
1 parent f265721 commit e00d976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BUILD_COMMIT=$(git rev-parse --short HEAD)
BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
BUILD_VERSION=$(git describe --tags --always)

ENVIRONMENT="env GOOS=linux GOARCH=amd64"
ENVIRONMENT="env GOOS=linux GOARCH=amd64 CGO_ENABLED=0"

apiFuncs=(
"emails/list" "emails/get" "emails/getRaw" "emails/getContent" "emails/read" "emails/trash" "emails/untrash" "emails/delete" "emails/create" "emails/save" "emails/send"
Expand Down

0 comments on commit e00d976

Please sign in to comment.