File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -131,16 +131,17 @@ def get_build_targetname(primary_build_target,branch_and_label):
131
131
raise Exception (f"get_build_target_name() requires branch_and_label" )
132
132
133
133
# sanitise label for unity cloud build's restrictions
134
- target_name = branch_and_label .label
134
+ target_name = primary_build_target
135
+ # target_name = "branch_and_label.label"
135
136
# replace any special chars and ensure length is max of 56 chars
136
137
# 64 is the limit, but we allow some free chars for platform
137
138
# todo: just do 64-(prefix-length)
138
- target_name = re .sub ("[^0-9a-zA-Z]+" , "-" , target_name )
139
- target_name = f"{ primary_build_target } -{ target_name } "
139
+ # target_name = re.sub("[^0-9a-zA-Z]+", "-", target_name)
140
+ # target_name = f"{primary_build_target}-{target_name}"
140
141
# 64 char limit for targets (citation needed)
141
- target_name = target_name [:63 ]
142
+ # target_name = target_name[:63]
142
143
# targets must be lower case
143
- target_name = target_name .lower ()
144
+ # target_name = target_name.lower()
144
145
145
146
return target_name
146
147
You can’t perform that action at this time.
0 commit comments