Repository: vmware-tanzu/tanzu-framework (language: go)

Issue:
tkg/buildinfo/IsOfficialBuild should be set to true for official builds
**Bug description**
The variable `tkg.buildinfo.IsOfficialBuild` should be set to true for official builds during build time

**Affected product area (please put an X in all that apply)**

- ( ) APIs
- (X) Addons
- (X) CLI
- ( ) Docs
- ( ) IAM
- ( ) Installation
- ( ) Plugin
- ( ) Security
- (X) Test and Release
- ( ) User Experience
- (X) Developer Experience

**Expected behavior**
tkg.buildinfo.IsOfficialBuild to be set to true during official builds

**Steps to reproduce the bug**
N/A

**Version** (include the SHA if the version is not obvious)
ada7554ccee6eb06f19592d57ef5a9472e50b67f

**Environment where the bug was observed (cloud, OS, etc)**
N/A

**Relevant Debug Output (Logs, manifests, etc)**
N/A


Discussion / hints:

Fix patch:
diff --git a/Makefile b/Makefile
index 5646f9940a..71e87315f8 100644
--- a/Makefile
+++ b/Makefile
@@ -88,6 +88,7 @@ OCI_REGISTRY ?= projects.registry.vmware.com/tanzu_framework
 
 # TODO: Change package path to cli/runtime when this var is moved there.
 LD_FLAGS += -X 'github.com/vmware-tanzu/tanzu-framework/pkg/v1/buildinfo.IsOfficialBuild=$(IS_OFFICIAL_BUILD)'
+LD_FLAGS += -X 'github.com/vmware-tanzu/tanzu-framework/tkg/buildinfo.IsOfficialBuild=$(IS_OFFICIAL_BUILD)'
 
 ifneq ($(strip $(TANZU_CORE_BUCKET)),)
 LD_FLAGS += -X 'github.com/vmware-tanzu/tanzu-framework/cli/core/pkg/config.CoreBucketName=$(TANZU_CORE_BUCKET)'
diff --git a/cli/core/Makefile b/cli/core/Makefile
index 2a6a12a480..af85bd5c0c 100644
--- a/cli/core/Makefile
+++ b/cli/core/Makefile
@@ -73,6 +73,7 @@ endif
 
 
 LD_FLAGS += -X 'github.com/vmware-tanzu/tanzu-framework/cli/core/pkg/buildinfo.IsOfficialBuild=$(IS_OFFICIAL_BUILD)'
+LD_FLAGS += -X 'github.com/vmware-tanzu/tanzu-framework/tkg/buildinfo.IsOfficialBuild=$(IS_OFFICIAL_BUILD)'
 
 ifneq ($(strip $(TANZU_CORE_BUCKET)),)
 LD_FLAGS += -X 'github.com/vmware-tanzu/tanzu-framework/cli/core/pkg/config.CoreBucketName=$(TANZU_CORE_BUCKET)'


Test patch: