File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,6 +66,14 @@ class Build : NukeBuild
6666 . SetProperty ( "PackageVersion" , GitVersion . NuGetVersionV2 )
6767 . SetInformationalVersion ( GitVersion . InformationalVersion )
6868 . EnableNoRestore ( ) ) ;
69+
70+ DotNetPack ( s => s
71+ . SetConfiguration ( Configuration )
72+ . SetOutputDirectory ( OutputDirectory )
73+ . SetProperty ( "PackageVersion" , GitVersion . NuGetVersionV2 )
74+ . SetInformationalVersion ( GitVersion . InformationalVersion )
75+ . EnableNoBuild ( )
76+ ) ;
6977 } ) ;
7078
7179 Target Test => _ => _
@@ -96,14 +104,6 @@ class Build : NukeBuild
96104 return ;
97105 }
98106
99- DotNetPack ( s => s
100- . SetConfiguration ( Configuration )
101- . SetOutputDirectory ( OutputDirectory )
102- . SetProperty ( "PackageVersion" , GitVersion . NuGetVersionV2 )
103- . SetInformationalVersion ( GitVersion . InformationalVersion )
104- . EnableNoBuild ( )
105- ) ;
106-
107107 var nugetPackage = GlobFiles ( OutputDirectory , "*.nupkg" ) . First ( ) ;
108108
109109 DotNetNuGetPush ( s => s
You can’t perform that action at this time.
0 commit comments