Skip to content

Commit

Permalink
Merge pull request #957 from dorssel/fix_publish
Browse files Browse the repository at this point in the history
Do not publish package lock file
  • Loading branch information
dorssel authored May 22, 2024
2 parents 9b802ad + 2f6e4e0 commit 878febe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,19 @@ SPDX-License-Identifier: GPL-3.0-only

<!-- Common defaults -->
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode Condition="'$(GITHUB_ACTIONS)' == 'true'">true</RestoreLockedMode>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<InvariantGlobalization>true</InvariantGlobalization>
<SelfContained>false</SelfContained>
<IsPackable>false</IsPackable>
<IsPublishable>false</IsPublishable>
<GenerateDependencyFile>false</GenerateDependencyFile>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>

<!-- Deterministic builds -->
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode Condition="'$(GITHUB_ACTIONS)' == 'true'">true</RestoreLockedMode>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>

<Product>usbipd-win</Product>
<Company>Frans van Dorsselaer</Company>
<Copyright>Copyright (C) $([System.DateTime]::UtcNow.ToString("yyyy")) $(Company)</Copyright>
Expand Down
5 changes: 5 additions & 0 deletions Usbipd/Usbipd.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ SPDX-License-Identifier: GPL-3.0-only
<AssemblyName>usbipd</AssemblyName>
</PropertyGroup>

<ItemGroup>
<Content Remove="packages.lock.json" />
<None Include="packages.lock.json" />
</ItemGroup>

<ItemGroup>
<Content Include="..\COPYING.md" Link="COPYING.md" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
Expand Down

0 comments on commit 878febe

Please sign in to comment.