Skip to content

Commit 87583ba

Browse files
committed
Update Makefile and .goreleaser to include netgo package
1 parent 7e4727a commit 87583ba

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ builds:
1818

1919
id: "steampipe"
2020
binary: "{{ .ProjectName }}.plugin"
21+
flags:
22+
- -tags=netgo
2123

2224
archives:
2325
- format: gz

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
STEAMPIPE_INSTALL_DIR ?= ~/.steampipe
2+
BUILD_TAGS = netgo
13
install:
2-
go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/turbot/hackernews@latest/steampipe-plugin-hackernews.plugin *.go
4+
go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/hackernews@latest/steampipe-plugin-hackernews.plugin -tags "${BUILD_TAGS}" *.go

0 commit comments

Comments
 (0)