Skip to content

Commit

Permalink
Merge branch 'hotfix/8.4.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Jan 2, 2023
2 parents 2732eae + bd9e790 commit 103f784
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/IKVM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ jobs:
path: ${{ env.IKVMPATH }}/dist/TestResults
release:
name: Release
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/release/')
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/hotfix/')
needs:
- test
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ branches:
regex: ^dev(elop)?(ment)?$
tag: develop
release:
regex: ^releases?[/-]
regex: ^release?[/-]
tag: prerelease
hotfix:
regex: ^hotfix?[/-]
tag: prerelease
5 changes: 2 additions & 3 deletions src/IKVM/IKVM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
</PropertyGroup>

<ItemGroup>
<None Include="build\**\*" Pack="true" PackagePath="build\%(RecursiveDir)%(Filename)%(Extension)" />
<None Include="buildTransitive\**\*" Pack="true" PackagePath="buildTransitive\%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>

Expand All @@ -46,13 +45,13 @@

<Target Name="GetProjectReferenceBuildOutputInPackage" DependsOnTargets="ResolveReferences">
<ItemGroup>
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'all'))" />
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths-&gt;WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')-&gt;WithMetadataValue('PrivateAssets', 'all'))" />
</ItemGroup>
</Target>

<Target Name="GetProjectReferenceDebugSymbolsInPackage" DependsOnTargets="ResolveReferences">
<ItemGroup>
<TfmSpecificDebugSymbolsFile Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'all')->'%(RootDir)%(Directory)%(Filename).pdb')" Condition="Exists('%(RootDir)%(Directory)%(Filename).pdb')">
<TfmSpecificDebugSymbolsFile Include="@(ReferenceCopyLocalPaths-&gt;WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')-&gt;WithMetadataValue('PrivateAssets', 'all')-&gt;'%(RootDir)%(Directory)%(Filename).pdb')" Condition="Exists('%(RootDir)%(Directory)%(Filename).pdb')">
<TargetFramework>$(TargetFramework)</TargetFramework>
</TfmSpecificDebugSymbolsFile>
</ItemGroup>
Expand Down
14 changes: 0 additions & 14 deletions src/IKVM/build/net461/IKVM.targets

This file was deleted.

9 changes: 9 additions & 0 deletions src/IKVM/buildTransitive/netstandard2.0/IKVM.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>

<!-- Ensure runtime items get copied to output on Framework targets. NuGet doesn't do this automatically. -->
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net461'))">
<ContentWithTargetPath Include="$(MSBuildThisFileDirectory)..\..\runtimes\**\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>runtimes\%(RecursiveDir)%(FileName)%(Extension)</TargetPath>
<Pack>false</Pack>
</ContentWithTargetPath>
</ItemGroup>

<!-- Transforms the IkvmReference item group into IkvmReferenceItem items. -->
<Target Name="GetIkvmReferenceItemsFromIkvmReferences">
<ItemGroup>
Expand Down

0 comments on commit 103f784

Please sign in to comment.