Skip to content

Commit 8860e71

Browse files
authored
fix for changelog generation (Azure#39321)
1 parent 8981a8b commit 8860e71

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ def change_log_generate(
6767
# try new changelog tool
6868
if prefolder and not is_multiapi:
6969
try:
70-
return change_log_new(str(Path(prefolder) / package_name), not (last_stable_release and tag_is_stable))
70+
return (
71+
change_log_new(str(Path(prefolder) / package_name), not (last_stable_release and tag_is_stable)),
72+
last_version,
73+
)
7174
except Exception as e:
7275
_LOGGER.warning(f"Failed to generate changelog with breaking_change_detector: {e}")
7376

0 commit comments

Comments
 (0)