Skip to content

Commit

Permalink
Makefile: fix releaseinfo path
Browse files Browse the repository at this point in the history
  • Loading branch information
talal committed Dec 5, 2020
1 parent 4b1750e commit 4d345d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ build/cover.out: test/bin

build/release-info: CHANGELOG.md
@mkdir -p build
go run $(GO_BUILDFLAGS) tools/releaseinfo/main.go $< $(shell git describe --tags --abbrev=0) > $@
go run $(GO_BUILDFLAGS) tools/releaseinfo.go $< $(shell git describe --tags --abbrev=0) > $@

build-all: build/absent-metrics-operator

GO_BUILDFLAGS = -mod vendor
GO_LDFLAGS = -X main.version=$(VERSION) -X main.commit=$(COMMIT_HASH) -X main.date=$(BUILD_DATE)
GO_TESTENV =
GO_TESTENV =

build/absent-metrics-operator: FORCE
go build $(GO_BUILDFLAGS) -ldflags '-s -w $(GO_LDFLAGS)' -o build/absent-metrics-operator .
Expand Down
2 changes: 1 addition & 1 deletion Makefile.maker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ verbatim: |
build/release-info: CHANGELOG.md
@mkdir -p build
go run $(GO_BUILDFLAGS) tools/releaseinfo/main.go $< $(shell git describe --tags --abbrev=0) > $@
go run $(GO_BUILDFLAGS) tools/releaseinfo.go $< $(shell git describe --tags --abbrev=0) > $@

0 comments on commit 4d345d8

Please sign in to comment.