File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,10 @@ Task("Pack-Nuget")
62
62
settings . ArgumentCustomization = arg => arg . Append ( "/p:PackAsTool=true" ) ;
63
63
DotNetCorePack ( "./src/GitVersionExe/GitVersionExe.csproj" , settings ) ;
64
64
65
- settings . ArgumentCustomization = null ;
65
+ settings . ArgumentCustomization = arg => arg . Append ( "/p:IsPackaging=true" ) ;
66
66
DotNetCorePack ( "./src/GitVersion.MsBuild" , settings ) ;
67
+
68
+ settings . ArgumentCustomization = null ;
67
69
DotNetCorePack ( "./src/GitVersionCore" , settings ) ;
68
70
} ) ;
69
71
Original file line number Diff line number Diff line change 3
3
<BaseIntermediateOutputPath >$(MSBuildThisFileDirectory)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath >
4
4
5
5
<Authors >GitTools and Contributors</Authors >
6
+ <Copyright >Copyright GitTools 2020.</Copyright >
7
+ <Company >$(Authors)</Company >
8
+
6
9
<PackageProjectUrl >https://github.com/GitTools/GitVersion</PackageProjectUrl >
7
10
<PackageRequireLicenseAcceptance >false</PackageRequireLicenseAcceptance >
8
11
<PackageTags >Git;Versioning;GitVersion;GitFlowVersion;GitFlow;GitHubFlow;SemVer</PackageTags >
9
- <Copyright >Copyright GitTools 2020.</Copyright >
10
12
<PackageLicenseExpression >MIT</PackageLicenseExpression >
11
13
<PackageIcon >package_icon.png</PackageIcon >
12
14
<PackageReleaseNotes >https://github.com/GitTools/GitVersion/releases</PackageReleaseNotes >
15
+
13
16
<RepositoryUrl >https://github.com/GitTools/GitVersion</RepositoryUrl >
14
17
<RepositoryType >git</RepositoryType >
15
- <PackageReleaseNotes >https://github.com/GitTools/GitVersion/releases</PackageReleaseNotes >
16
- <Company >$(Authors)</Company >
18
+
17
19
<DebugType >embedded</DebugType >
18
20
<LangVersion >8.0</LangVersion >
19
21
Original file line number Diff line number Diff line change 6
6
<Target_net48 >tools/net48</Target_net48 >
7
7
<Target_netcore31 >tools/netcoreapp3.1</Target_netcore31 >
8
8
</PropertyGroup >
9
- <ItemGroup >
9
+ <ItemGroup Condition = " $(IsPackaging) != '' " >
10
10
<None Include =" msbuild/tools/*.*" Pack =" true" PackagePath =" tools" />
11
11
<None Include =" msbuild/build/*.*" Pack =" true" PackagePath =" build" />
12
12
<None Include =" msbuild/buildMultiTargeting/*.*" Pack =" true" PackagePath =" buildMultiTargeting" />
You can’t perform that action at this time.
0 commit comments