Skip to content

Commit

Permalink
build: allow specifying STEAMPIPE_PLUGIN_VERSION for make install target
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Oct 7, 2024
1 parent 0cc8929 commit 49ff495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
STEAMPIPE_INSTALL_DIR ?= ~/.steampipe
STEAMPIPE_PLUGIN_VERSION ?= latest
BUILD_TAGS = netgo

install:
go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/gcp@latest/steampipe-plugin-gcp.plugin -tags "${BUILD_TAGS}" *.go
go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/gcp@$(STEAMPIPE_PLUGIN_VERSION)/steampipe-plugin-gcp.plugin -tags "${BUILD_TAGS}" *.go

0 comments on commit 49ff495

Please sign in to comment.