Skip to content

Commit 579d151

Browse files
committed
chore: fix release action
1 parent 0727910 commit 579d151

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
goos: ${{ matrix.goos }}
2323
goarch: ${{ matrix.goarch }}
2424
build_command: make clean && make
25-
extra_files: app build
25+
extra_files: .env.sample app build

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ DEFAULT_VERSION=0.1.0-local
22
VERSION := $(or $(VERSION),$(DEFAULT_VERSION))
33

44
cmd:
5-
cd server && go build -ldflags "-w -X main.Version=$(VERSION)" -o '../build/server'
5+
cd server && CGO_ENABLED=1 go build -ldflags "-w -X main.Version=$(VERSION)" -o '../build/server'
66
clean:
77
rm -rf build

0 commit comments

Comments
 (0)