Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
fix for golang/go#57328
Browse files Browse the repository at this point in the history
  • Loading branch information
g0rbe committed Mar 31, 2023
1 parent 0c25b58 commit ebd45b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ LDFLAGS += -X 'main.Version=$(shell git describe --tags --abbrev=0)'
LDFLAGS += -X 'main.Commit=$(shell git rev-list -1 HEAD)'

build:
go build -o columbus-scanner -ldflags="$(LDFLAGS)" .
CGO_ENABLED=0 go build -o columbus-scanner -ldflags="$(LDFLAGS)" .

build-dev:
go build -o columbus-scanner-dev --race .
CGO_ENABLED=0 go build -o columbus-scanner-dev --race .

release: build
sha512sum columbus-scanner | gpg --clearsign -u [email protected] > columbus-scanner.sha

0 comments on commit ebd45b0

Please sign in to comment.