File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -412,10 +412,6 @@ def create_new_build_target(self,build_target_name:str) -> str:
412412 # means that our generated name already exists, we want to catch & reuse that
413413 # gr: the new version of the code should probably fail here, as we should have already checked if it exists
414414 success_codes = [201 ,500 ]
415-
416- # create a new env for the specified build target
417- self .set_build_target_env_var ( build_target_name , "buildProfile" , self .primary_build_target )
418-
419415 new_target_meta = self .client .post_request (f"/projects/{ self .project_id } /buildtargets" , payload , success_codes )
420416
421417 print (f"new_target_meta = { new_target_meta } " )
@@ -672,7 +668,7 @@ def main(
672668 build_meta = builder .get_build_target_meta ( allow_new_target )
673669
674670 # create a new env for the specified build target
675- # builder_env = builder.set_build_target_env_var(build_target_name, "buildProfile", "Release")
671+ builder_env = builder .set_build_target_env_var (build_target_name , "buildProfile" , "Release" )
676672
677673 # create a new build for the specified build target
678674 build_number = builder .start_build (build_target_name )
You can’t perform that action at this time.
0 commit comments