Skip to content

Commit 52540b8

Browse files
committed
fix: Removed appName from the build.
1 parent 7f2e3b8 commit 52540b8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,11 @@ tidy:
102102

103103
.PHONY: build
104104
## build: [build]* Builds and installs the Terraform provider.
105+
# $(GO) install -a -ldflags="-s -w -X github.com/northwood-labs/terraform-provider-corefunc/cmd.Version=$(BINARY_VERSION)" .
105106
build: tidy
106107
@ $(ECHO) " "
107108
@ $(ECHO) "\033[1;33m=====> Building and installing the provider...\033[0m"
108-
$(GO) install -a -ldflags="-s -w -X github.com/northwood-labs/terraform-provider-corefunc/cmd.Version=$(BINARY_VERSION) -X github.com/northwood-labs/terraform-provider-corefunc/cmd.appName=$(BINARY_NAME)" .
109+
$(GO) install -a -ldflags="-s -w" .
109110
@ $(ECHO) " "
110111
@ ls -lahF $(GOBIN)/$(BINARY_NAME)
111112

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dev
1+
1.0.0

cmd/root.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ import (
1313

1414
var (
1515
debugMode bool
16-
appName string
1716

1817
// rootCmd represents the base command when called without any subcommands.
1918
rootCmd = &cobra.Command{
2019
Use: "terraform-provider-corefunc",
2120
Short: "Utilities that should have been Terraform core functions.",
2221
Long: `--------------------------------------------------------------------------------
23-
` + appName + `
22+
terraform-provider-corefunc
2423
2524
Utilities that should have been Terraform core functions.
2625

0 commit comments

Comments
 (0)