Skip to content

Commit 5b7668c

Browse files
[SDK generation pipeline] fix last_version value not change issue (Azure#39309)
* Update package_utils.py * Update sdk_package.py
1 parent ea869d8 commit 5b7668c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/azure-sdk-tools/packaging_tools/package_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def change_log_generate(
7373

7474
# fallback to old changelog tool
7575
_LOGGER.info("Fallback to old changelog tool")
76-
return change_log_main(f"{package_name}:pypi", f"{package_name}:latest", tag_is_stable)
76+
return (change_log_main(f"{package_name}:pypi", f"{package_name}:latest", tag_is_stable), last_version)
7777

7878

7979
def extract_breaking_change(changelog):

tools/azure-sdk-tools/packaging_tools/sdk_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def main(generate_input, generate_output):
4545
is_multiapi=package["isMultiapi"],
4646
)
4747
try:
48-
md_output = execute_func_with_timeout(change_log_func)
48+
md_output, last_version = execute_func_with_timeout(change_log_func)
4949
except multiprocessing.TimeoutError:
5050
md_output = "change log generation was timeout!!!"
5151
except:

0 commit comments

Comments
 (0)