Skip to content

Commit 2ffbb81

Browse files
rileykarsonnat-henderson
authored andcommitted
Add new version + linker flags. (#2438)
1 parent 6d68db6 commit 2ffbb81

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

GNUmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test: fmtcheck
1414
xargs -t -n4 go test $(TESTARGS) -timeout=30s -parallel=4
1515

1616
testacc: fmtcheck
17-
TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test $(TEST) -v $(TESTARGS) -timeout 120m
17+
TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test $(TEST) -v $(TESTARGS) -timeout 120m -ldflags="-X=github.com/terraform-providers/terraform-provider-google/version.ProviderVersion=acc"
1818

1919
vet:
2020
@echo "go vet ."

version/version.go

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package version
2+
3+
var (
4+
// ProviderVersion is set during the release process to the release version of the binary
5+
ProviderVersion = "dev"
6+
)

0 commit comments

Comments
 (0)