Skip to content

Commit 30733a4

Browse files
authored
Fix - Install in Makefile
2 parents 2f98227 + d9a2b3f commit 30733a4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
NAME=dbt-cloud
2-
BINARY=terraform-provider-$(NAME)
32
VERSION=$(shell cat VERSION)
3+
BINARY=terraform-provider-$(NAME)_v$(VERSION)
44

55
default: install
66

@@ -12,8 +12,8 @@ build:
1212
go build -ldflags "-w -s" -o $(BINARY) .
1313

1414
install: build
15-
mkdir -p ~/.terraform.d/plugins/gthesheep/dbt_cloud/0.1/darwin_amd64
16-
mv $(BINARY) ~/.terraform.d/plugins/gthesheep/dbt_cloud/0.1/darwin_amd64/$(BINARY)
15+
mkdir -p $(HOME)/.terraform.d/plugins
16+
mv ./$(BINARY) $(HOME)/.terraform.d/plugins/$(BINARY)
1717

1818
docs:
1919
go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs

0 commit comments

Comments
 (0)