diff --git a/.chronus/changes/IgnoreGeneratedMetadataInDiffCheck-2026-5-19-20-15-30.md b/.chronus/changes/IgnoreGeneratedMetadataInDiffCheck-2026-5-19-20-15-30.md new file mode 100644 index 00000000000..756007a808f --- /dev/null +++ b/.chronus/changes/IgnoreGeneratedMetadataInDiffCheck-2026-5-19-20-15-30.md @@ -0,0 +1,8 @@ +--- +# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking +changeKind: internal +packages: + - "@typespec/http-client-java" +--- + +Ignore modifications to META-INF metadata.json files diff --git a/packages/http-client-java/eng/scripts/Check-GitChanges.ps1 b/packages/http-client-java/eng/scripts/Check-GitChanges.ps1 index f736c17b0d4..dcc96399fcd 100644 --- a/packages/http-client-java/eng/scripts/Check-GitChanges.ps1 +++ b/packages/http-client-java/eng/scripts/Check-GitChanges.ps1 @@ -13,6 +13,7 @@ Set-ConsoleEncoding $diffExcludes = @( "$packageRoot/package.json" "$packageRoot/package-lock.json" + "*/src/main/resources/META-INF/*_metadata*.json" ) | ForEach-Object { "`":(exclude)$_`"" } | Join-String -Separator ' ' Invoke-LoggedCommand "git -c core.safecrlf=false diff --ignore-space-at-eol --exit-code -- $diffExcludes" -IgnoreExitCode