Skip to content

Commit b6e4706

Browse files
Merge pull request #1345 from ericstj/packageValidation
Disable package validation for libtorch packages
2 parents 077780d + 225aa8d commit b6e4706

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
<!-- we manually update these -->
8888
<PropertyGroup Condition="'$(MSBuildProjectName.IndexOf(`libtorch-`))' != '-1'">
8989
<LibTorchPackageVersion>2.2.1.1</LibTorchPackageVersion>
90-
<PreviousPackageVersion>2.2.1.1</PreviousPackageVersion>
90+
<EnablePackageValidation>false</EnablePackageValidation>
9191
<VersionPrefix>$(LibTorchPackageVersion)</VersionPrefix>
9292
<VersionSuffix></VersionSuffix>
9393
</PropertyGroup>

pkg/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<Import Project="..\Directory.Build.targets" />
33

4-
<PropertyGroup Condition="'$(IsPackable)' != 'false'">
4+
<PropertyGroup Condition="'$(IsPackable)' != 'false' and '$(EnablePackageValidation)' != 'false'">
55
<EnablePackageValidation>true</EnablePackageValidation>
66
<PackageValidationBaselineVersion>$(PreviousPackageVersion)</PackageValidationBaselineVersion>
77
</PropertyGroup>

0 commit comments

Comments
 (0)