Skip to content

Commit 9bbe758

Browse files
Added setting IBMCLOUD_TRACE to false
1 parent ebc49ab commit 9bbe758

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bin/buildAndDeploy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ def setVersion(self, version: str) -> None:
254254
def deploy(self):
255255
"""Uploads binaries to IBM COS"""
256256
apikey = os.getenv("IBMCLOUD_APIKEY")
257+
# if IBMCLOUD_TRACE is true the upload will print out the binary file data to the screen.
258+
os.environ["IBMCLOUD_TRACE"] = False
257259
if not apikey:
258260
raise Exception("IBMCLOUD_APIKEY needs to be set to the proper API key first.")
259261
login_cmd = ["ibmcloud", "login", f"--apikey={apikey}"]

0 commit comments

Comments
 (0)