Skip to content

Commit

Permalink
Fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
grujicf committed Feb 27, 2024
1 parent 256e511 commit 87de025
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ build: check-go check-git
$(eval BRANCH = $(shell git rev-parse --abbrev-ref HEAD | tr -d '\040\011\012\015\n'))
$(eval TIME = $(shell date))
go build -o blade -ldflags="\
-X 'github.com/Ethernal-Tech/blade/versioning.Version=$(VERSION)' \
-X 'github.com/Ethernal-Tech/blade/versioning.Commit=$(COMMIT_HASH)'\
-X 'github.com/Ethernal-Tech/blade/versioning.Branch=$(BRANCH)'\
-X 'github.com/Ethernal-Tech/blade/versioning.BuildTime=$(TIME)'" \
-X 'github.com/0xPolygon/polygon-edge/versioning.Version=$(VERSION)' \
-X 'github.com/0xPolygon/polygon-edge/versioning.Commit=$(COMMIT_HASH)'\
-X 'github.com/0xPolygon/polygon-edge/versioning.Branch=$(BRANCH)'\
-X 'github.com/0xPolygon/polygon-edge/versioning.BuildTime=$(TIME)'" \
main.go

.PHONY: lint
Expand Down

0 comments on commit 87de025

Please sign in to comment.