Skip to content

Commit

Permalink
Makefile: Fix go build argument
Browse files Browse the repository at this point in the history
Since Go 1.17, -i flag is deprecated.
  • Loading branch information
codeurimpulsif committed Nov 26, 2022
1 parent bebe175 commit 79d7b8f
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 @@ -24,7 +24,7 @@ release: $(RELEASE_ZIP) ## Package release artifact

$(BINARY): dep
@echo "🍳 Building $(BINARY)"
go build -i -v -o $(BINARY) -ldflags "-X main.version=$(GIT_TAG)-$(GIT_BRANCH).$(GIT_COMMIT)" $(BINARY_PKG_BUILD)
go build -v -o $(BINARY) -ldflags "-X main.version=$(GIT_TAG)-$(GIT_BRANCH).$(GIT_COMMIT)" $(BINARY_PKG_BUILD)

$(RELEASE_ZIP): $(BINARY)
@echo "🍳 Building $(RELEASE_ZIP)"
Expand Down

0 comments on commit 79d7b8f

Please sign in to comment.