mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Format
This commit is contained in:
@@ -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("/", "_")
|
||||
|
||||
Reference in New Issue
Block a user