Fix dist suffixes

This commit is contained in:
Willy-JL
2024-03-10 13:08:14 +00:00
parent ed08b194e5
commit ef557bc1c6
3 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -60,10 +60,9 @@ 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("/", "_")
+ "-"
+ current_time.strftime("%d%m%Y")
+ "-"
+ data["commit_sha"]
)
if ref.startswith("refs/tags/"):