Compare commits

..

2 Commits

Author SHA1 Message Date
Lakhan Samani
55e6357a5f fix: remove cgo from build 2021-09-09 12:02:16 +05:30
Lakhan Samani
bbfbe71d95 fix: release action 2021-09-09 11:50:54 +05:30
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ jobs:
matrix:
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
goos: [linux, windows, darwin]
goarch: amd64
goarch: [amd64]
# goarch: ['386', amd64]
# exclude:
# - goarch: '386'

View File

@@ -2,6 +2,6 @@ DEFAULT_VERSION=0.1.0-local
VERSION := $(or $(VERSION),$(DEFAULT_VERSION))
cmd:
cd server && CGO_ENABLED=1 go build -ldflags "-w -X main.Version=$(VERSION)" -o '../build/server'
cd server && go build -ldflags "-w -X main.Version=$(VERSION)" -o '../build/server'
clean:
rm -rf build