File tree 1 file changed +1
-5
lines changed
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:
412
412
# means that our generated name already exists, we want to catch & reuse that
413
413
# gr: the new version of the code should probably fail here, as we should have already checked if it exists
414
414
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
-
419
415
new_target_meta = self .client .post_request (f"/projects/{ self .project_id } /buildtargets" , payload , success_codes )
420
416
421
417
print (f"new_target_meta = { new_target_meta } " )
@@ -672,7 +668,7 @@ def main(
672
668
build_meta = builder .get_build_target_meta ( allow_new_target )
673
669
674
670
# 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" )
676
672
677
673
# create a new build for the specified build target
678
674
build_number = builder .start_build (build_target_name )
You can’t perform that action at this time.
0 commit comments