diff --git a/scripts/auto_release/main.py b/scripts/auto_release/main.py index 71fe40ff6667..934c567ae843 100644 --- a/scripts/auto_release/main.py +++ b/scripts/auto_release/main.py @@ -423,6 +423,17 @@ def check_ci_file(self): self.check_ci_file_proc(target_msrest) self.check_ci_file_proc(target_mgmt_core) + def check_dev_requirement(self): + file = Path(f'sdk/{self.sdk_folder}/azure-mgmt-{self.package_name}/dev_requirements.txt') + content = [ + "-e ../../../tools/azure-sdk-tools\n", + "-e ../../../tools/azure-devtools\n", + "../../identity/azure-identity\n" + ] + if not file.exists(): + with open(file, "w") as file_out: + file_out.writelines(content) + def check_file(self): self.check_file_with_packaging_tool() self.check_pprint_name() @@ -430,6 +441,7 @@ def check_file(self): self.check_version() self.check_changelog_file() self.check_ci_file() + self.check_dev_requirement() def sdk_code_path(self) -> str: return str(Path(f'sdk/{self.sdk_folder}/azure-mgmt-{self.package_name}'))