Add new version + linker flags. (#2438)

This commit is contained in:
Riley Karson 2018-11-09 15:13:18 -08:00 committed by Nathan McKinley
parent 9a683a65e9
commit cfedd9b0f3
2 changed files with 7 additions and 1 deletions

View File

@ -14,7 +14,7 @@ test: fmtcheck
xargs -t -n4 go test $(TESTARGS) -timeout=30s -parallel=4
testacc: fmtcheck
TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test $(TEST) -v $(TESTARGS) -timeout 120m
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"
vet:
@echo "go vet ."

6
version/version.go Normal file
View File

@ -0,0 +1,6 @@
package version
var (
// ProviderVersion is set during the release process to the release version of the binary
ProviderVersion = "dev"
)