Skip to content

Commit f8fd3e0

Browse files
authored
enable changelog for data-plane (#37311)
1 parent 6c63611 commit f8fd3e0

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

scripts/breaking_changes_checker/breaking_changes_allowlist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# --------------------------------------------------------------------------------------------
77

88

9-
RUN_BREAKING_CHANGES_PACKAGES = ["azure-mgmt-*"]
9+
RUN_BREAKING_CHANGES_PACKAGES = ["azure-mgmt-*", "azure-ai-contentsafety"]
1010

1111

1212
# See Readme for ignore format

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

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,16 @@ def main(generate_input, generate_output):
2828
prefolder = package["path"][0]
2929
# Changelog
3030
last_version = ["first release"]
31-
if "azure-mgmt-" in package_name:
32-
try:
33-
md_output = change_log_generate(
34-
package_name,
35-
last_version,
36-
package["tagIsStable"],
37-
prefolder=prefolder,
38-
is_multiapi=package["isMultiapi"],
39-
)
40-
except:
41-
md_output = "change log generation failed!!!"
42-
else:
43-
md_output = "data-plan skip changelog generation temporarily"
31+
try:
32+
md_output = change_log_generate(
33+
package_name,
34+
last_version,
35+
package["tagIsStable"],
36+
prefolder=prefolder,
37+
is_multiapi=package["isMultiapi"],
38+
)
39+
except:
40+
md_output = "change log generation failed!!!"
4441
package["changelog"] = {
4542
"content": md_output,
4643
"hasBreakingChange": "Breaking Changes" in md_output,

0 commit comments

Comments
 (0)