Skip to content

Commit

Permalink
patch to make file to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
IdlePhysicist committed Jun 5, 2020
1 parent 959b68e commit 2b347d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ BUILD =build
PREFIX=$(GOPATH)/bin/

version?="0.0.0"
commit =`if [ -d ./.git ]; then git rev-list -1 HEAD | head -c 8; else echo "release build"; fi`
commit =`if [ -d ./.git ]; then git rev-list -1 HEAD | head -c 8; else echo release-build; fi`
date =`date "+%Y-%m-%d"`
package =main
ldflags ="-X $(package).commit=$(commit) -X $(package).version=$(version) -X $(package).date=$(date)"
Expand Down

0 comments on commit 2b347d9

Please sign in to comment.