File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 6464 <PackagePath ></PackagePath >
6565 </None >
6666 </ItemGroup >
67+
68+ <PropertyGroup Label =" CI" Condition =" '$(CI)' == ''" >
69+ <CI >false</CI >
70+ <!-- GH, CircleCI, GitLab and BitBucket already use CI -->
71+ <CI Condition =" '$(TF_BUILD)' == 'true' or
72+ '$(TEAMCITY_VERSION)' != '' or
73+ '$(APPVEYOR)' != '' or
74+ '$(BuildRunner)' == 'MyGet' or
75+ '$(JENKINS_URL)' != '' or
76+ '$(TRAVIS)' == 'true' or
77+ '$(BUDDY)' == 'true' or
78+ '$(CODEBUILD_CI)' == 'true'" >true</CI >
79+ </PropertyGroup >
6780</Project >
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Updated to DuckDB v1.1.3
2121 <PropertyGroup Condition =" '$(BuildType)' == 'ManagedOnly' " >
2222 <Description >$(Description) $(NoNativeText)</Description >
2323 </PropertyGroup >
24-
24+
2525 <!-- Download and include the native libraries into the NuGet package-->
2626 <Target Name =" DownloadNativeLibs" BeforeTargets =" GenerateAdditionalSources" Condition =" '$(BuildType)' == 'Full' " >
2727 <MSBuild Projects =" DownloadNativeLibs.targets" Properties =" Rid=win-x64;LibUrl=$(DuckDbArtifactRoot)/libduckdb-windows-amd64.zip" />
@@ -42,7 +42,7 @@ Updated to DuckDB v1.1.3
4242 <Link >runtimes\%(RecursiveDir)\%(FileName)%(Extension)</Link >
4343 </None >
4444 </ItemGroup >
45- <ItemGroup >
45+ <ItemGroup Condition = " '$(CI)' == 'true' " >
4646 <PackageReference Include =" GitVersion.MsBuild" Version =" 5.11.1" PrivateAssets =" all" />
4747 </ItemGroup >
4848 <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0'" >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Updated to DuckDB v1.1.3
1919 <Description >$(Description) $(NoNativeText)</Description >
2020 </PropertyGroup >
2121
22- <ItemGroup >
22+ <ItemGroup Condition = " '$(CI)' == 'true' " >
2323 <PackageReference Include =" GitVersion.MsBuild" Version =" 5.11.1" PrivateAssets =" all" />
2424 </ItemGroup >
2525 <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0'" >
You can’t perform that action at this time.
0 commit comments