From 7997ace4938468a684bb8c3874c9653c9a4f338b Mon Sep 17 00:00:00 2001 From: francisy Date: Mon, 6 Jul 2020 17:57:13 -0400 Subject: [PATCH] Ensure Tag Name is a string in deployment data Tag into a string instead of an array Change-Id: I5cec243fe957a573cf70eea53bfb861a7b1d5888 --- pegleg/engine/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pegleg/engine/site.py b/pegleg/engine/site.py index ceb8b935..2268bd11 100644 --- a/pegleg/engine/site.py +++ b/pegleg/engine/site.py @@ -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: