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

Commit

Permalink
Change App Version Info Variable Names in Makefile
Browse files Browse the repository at this point in the history
Since we have changed the App Info Variables in Commit
d777dd4 we have to change them also in
the Makefile under the `ldflags` or it would break the Makefile.

This is the last Patch which implements the Enhancement of #30

Why changing the App Info Variable Names?

Because goreleaser use those Names as from default so we have not to
edit more Fields of the `.goreleaser.yaml` Config.
  • Loading branch information
l0nax committed Oct 15, 2019
1 parent 081a41b commit 7cadfe5
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 @@ -22,4 +22,4 @@ build:
git fetch --tags
@echo "++ Building kubenab go binary..."
mkdir -p bin
cd cmd/kubenab && go build $(STRIP_DEBUG) -a --installsuffix cgo --ldflags="-s -X main.AppVersion=$(APP_VERSION) -X main.BuildDate=$(BUILD_DATE) -X main.GitHash=$(GIT_HASH)" -o $(OUT_DIR)/kubenab
cd cmd/kubenab && go build $(STRIP_DEBUG) -a --installsuffix cgo --ldflags="-s -X main.version=$(APP_VERSION) -X main.date=$(BUILD_DATE) -X main.commit=$(GIT_HASH)" -o $(OUT_DIR)/kubenab

0 comments on commit 7cadfe5

Please sign in to comment.