Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Mar 10, 2024
1 parent 1577bbc commit a5decc9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/get_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("/", "_")
Expand Down

0 comments on commit a5decc9

Please sign in to comment.