Skip to content

Commit fd022b9

Browse files
authored
Merge pull request #157 from liulanzheng/main
Makefile: disable cgo
2 parents a8cedba + cfdbe44 commit fd022b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ force:
1919
# build a binary from cmd
2020
bin/%: cmd/% force
2121
@echo "$@"
22-
@GOOS=linux go build -o $@ ./$<
22+
@GOOS=linux CGO_ENABLED=0 go build -o $@ ./$<
2323

2424
install: ## install binaries from bin
2525
@mkdir -p $(SN_DESTDIR)

nfpm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
name: "overlaybd-snapshotter"
66
arch: "amd64"
77
platform: "linux"
8-
version: "v0.5.1"
8+
version: "v0.5.2"
99
section: "default"
1010
priority: "extra"
1111

0 commit comments

Comments
 (0)