lintingzhen / commitizen-go

The commitizen command line utility, without nodejs.
MIT License
243 stars 25 forks source link

Add dynamic GOARCH #20

Closed max-petrovich closed 1 year ago

max-petrovich commented 1 year ago

I have an issue on ubuntu 20.04 arm64, /usr/lib/git-core/git-cz: 1: Syntax error: "(" unexpected

When i build with arm64 arch - everything is fine CGO_ENABLED=0 GOOS=${GOOS} GOARCH=arm64 go build -o $@ -ldflags ${REVISION_FLAG}