Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
".": "2.2.1",
"src/Microsoft.OpenApi.Hidi": "2.13.0"
"src/Microsoft.OpenApi.Hidi": "2.13.1"
}
8 changes: 8 additions & 0 deletions src/Microsoft.OpenApi.Hidi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Hidi changelog

## [2.13.1](https://github.com/microsoft/OpenAPI.NET.OData/compare/hidi-v2.13.0...hidi-v2.13.1) (2026-10-13)


### Bug Fixes

* **hidi:** preserve ESRP-signed DLL in v2 tool packages ([92e4df6](https://github.com/microsoft/OpenAPI.NET.OData/commit/92e4df6cf3c4deb53c3b4a1d1c45fe2320adaaa1))
* **hidi:** preserve signed assembly in v2 tool packages ([6b85866](https://github.com/microsoft/OpenAPI.NET.OData/commit/6b858667ff3a622485d08269985979652ed7bb11))

## [2.13.0](https://github.com/microsoft/OpenAPI.NET.OData/compare/hidi-v2.12.2...hidi-v2.13.0) (2026-10-09)


Expand Down
15 changes: 5 additions & 10 deletions src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Nullable>enable</Nullable>
<ToolCommandName>hidi</ToolCommandName>
<PackageId>Microsoft.OpenApi.Hidi</PackageId>
<Version>2.13.0</Version>
<Version>2.13.1</Version>
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\hidi\nuget</PackageOutputPath>
<Description>OpenAPI.NET CLI tool for slicing OpenAPI documents</Description>
<SignAssembly>true</SignAssembly>
Expand Down Expand Up @@ -69,17 +69,12 @@
</ItemGroup>

<!-- Tool pack publishes IntermediateAssembly from obj, not the DLL in bin. -->
<Target Name="UseHidiSignedAssemblyForToolPack"
AfterTargets="ComputeFilesToPublish"
Condition="'$(PackAsTool)' == 'true' and '$(HidiSignedAssemblyPath)' != ''">
<Error Condition="!Exists('$(HidiSignedAssemblyPath)')"
Text="Missing signed Hidi assembly: $(HidiSignedAssemblyPath)"/>
<Target Name="UseHidiSignedAssemblyForToolPack" AfterTargets="ComputeFilesToPublish" Condition="'$(PackAsTool)' == 'true' and '$(HidiSignedAssemblyPath)' != ''">
<Error Condition="!Exists('$(HidiSignedAssemblyPath)')" Text="Missing signed Hidi assembly: $(HidiSignedAssemblyPath)"/>
<ItemGroup>
<_HidiAssemblyToReplace Include="@(ResolvedFileToPublish)"
Condition="'%(ResolvedFileToPublish.RelativePath)' == '$(TargetFileName)'"/>
<_HidiAssemblyToReplace Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.RelativePath)' == '$(TargetFileName)'"/>
</ItemGroup>
<Error Condition="'@(_HidiAssemblyToReplace->Count())' != '1'"
Text="Expected exactly one Hidi assembly in the tool publish inputs."/>
<Error Condition="'@(_HidiAssemblyToReplace-&gt;Count())' != '1'" Text="Expected exactly one Hidi assembly in the tool publish inputs."/>
<ItemGroup>
<ResolvedFileToPublish Remove="@(_HidiAssemblyToReplace)"/>
<ResolvedFileToPublish Include="$(HidiSignedAssemblyPath)">
Expand Down
Loading