This commit is contained in:
Willy-JL
2024-03-10 17:52:23 +00:00
parent 1577bbc766
commit a5decc9756

View File

@@ -60,10 +60,7 @@ def get_details(event, args):
data["commit_sha"] = data["commit_hash"][:8]
data["branch_name"] = re.sub("refs/\w+/", "", ref)
data["suffix"] = (
"mntm-" +
data["branch_name"].replace("/", "_")
+ "-"
+ data["commit_sha"]
"mntm-" + data["branch_name"].replace("/", "_") + "-" + data["commit_sha"]
)
if ref.startswith("refs/tags/"):
data["suffix"] = data["branch_name"].replace("/", "_")