File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed
Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -119,27 +119,6 @@ Task("Create-Package")
119119
120120 DotNetCorePack ( $ "./src/{ solutionName } /", settings ) ;
121121 } ) ;
122- // .IsDependentOn("Copy-Files")
123- // .Does(() =>
124- // {
125- // var nugetExe = GetFiles("./tools/**/nuget.exe").FirstOrDefault()
126- // ?? (isRunningOnAppVeyor ? GetFiles("C:\\Tools\\NuGet3\\nuget.exe").FirstOrDefault() : null)
127- // ?? throw new InvalidOperationException("Could not find nuget.exe.");
128- //
129- // var nuspec = nugetRoot + File($"{projectName}.nuspec");
130- //
131- // NuGetPack(nuspec, new NuGetPackSettings
132- // {
133- // Version = version,
134- // OutputDirectory = nugetRoot,
135- // Symbols = true,
136- //
137- // Properties = new Dictionary<String, String>
138- // {
139- // { "Configuration", configuration },
140- // },
141- // });
142- // });
143122
144123Task ( "Publish-Package" )
145124 . IsDependentOn ( "Create-Package" )
@@ -159,6 +138,7 @@ Task("Publish-Package")
159138 {
160139 Source = "https://nuget.org/api/v2/package" ,
161140 ApiKey = apiKey ,
141+ SkipDuplicate = true
162142 } ) ;
163143 }
164144 } ) ;
You can’t perform that action at this time.
0 commit comments