Skip to content

[AutoPR azure-resourcemanager-devopsinfrastructure] mpg TypeSpec, generation failure #13540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions eng/automation/generate_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from utils import update_root_pom
from utils import update_version
from utils import is_windows
from utils import set_or_default_version

os.chdir(pwd)

Expand Down Expand Up @@ -411,6 +412,8 @@ def generate_typespec_project(
# clear existing generated source code, and regenerate
drop_changes(sdk_root)
remove_generated_source_code(sdk_folder, f"{group_id}.{service}")
_, current_version = set_or_default_version(sdk_root, group_id, module)
tsp_cmd = f'{tsp_cmd} --emitter-options="package-version={current_version}"'
# regenerate
check_call(tsp_cmd, sdk_root)
succeeded = True
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
directory: specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management
commit: 19c009c9da2e73ac60ad55c79989d88e447ecb7f
repo: Azure/azure-rest-api-specs
commit: 20cf33a405fbb63008378a4989d2846625ecbbeb
repo: test-repo-billy/azure-rest-api-specs
additionalDirectories:
Loading