Skip to content

Commit

Permalink
fix(mk): injection path of dashboard package
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI committed Mar 13, 2024
1 parent 0d4b37b commit 091bb20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/dashboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PWD ?= $(shell pwd)
DASHBOARD_VERSION ?= 1.0.0
COMMIT_HASH ?= $(shell git rev-parse --short HEAD)
BUILD_TIMESTAMP ?= $(shell date '+%Y%m%d%H%M%S')
INJECT_PACKAGE=github.com/oceanbase/oceanbase-operator/internal/handler
INJECT_PACKAGE=github.com/oceanbase/ob-operator/internal/dashboard/handler

BUILD_FLAG := -p $(PROCESSOR) -ldflags="-X '$(INJECT_PACKAGE).Version=$(DASHBOARD_VERSION)' -X '$(INJECT_PACKAGE).CommitHash=$(COMMIT_HASH)' -X '$(INJECT_PACKAGE).BuildTime=$(BUILD_TIMESTAMP)'"
GOBUILD := go build $(BUILD_FLAG)
Expand Down

0 comments on commit 091bb20

Please sign in to comment.