File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,10 +102,11 @@ tidy:
102
102
103
103
.PHONY : build
104
104
# # 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)" .
105
106
build : tidy
106
107
@ $(ECHO ) " "
107
108
@ $(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" .
109
110
@ $(ECHO ) " "
110
111
@ ls -lahF $(GOBIN ) /$(BINARY_NAME )
111
112
Original file line number Diff line number Diff line change 1
- dev
1
+ 1.0.0
Original file line number Diff line number Diff line change @@ -13,14 +13,13 @@ import (
13
13
14
14
var (
15
15
debugMode bool
16
- appName string
17
16
18
17
// rootCmd represents the base command when called without any subcommands.
19
18
rootCmd = & cobra.Command {
20
19
Use : "terraform-provider-corefunc" ,
21
20
Short : "Utilities that should have been Terraform core functions." ,
22
21
Long : `--------------------------------------------------------------------------------
23
- ` + appName + `
22
+ terraform-provider-corefunc
24
23
25
24
Utilities that should have been Terraform core functions.
26
25
You can’t perform that action at this time.
0 commit comments