Ensure Tag Name is a string in deployment data

Tag into a string instead of an array

Change-Id: I5cec243fe957a573cf70eea53bfb861a7b1d5888
This commit is contained in:
francisy 2020-07-06 17:57:13 -04:00
parent b5a58659d8
commit 7997ace493

View File

@ -274,7 +274,7 @@ def _get_repo_deployment_data_stanza(repo_path):
# If we're at a particular tag, reference it
tag = [tag.name for tag in repo.tags if tag.commit == commit]
if tag:
tag == ", ".join(tag)
tag = ", ".join(tag)
else:
# Otherwise just use the branch name
try: