File tree 1 file changed +1
-21
lines changed
1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -119,27 +119,6 @@ Task("Create-Package")
119
119
120
120
DotNetCorePack ( $ "./src/{ solutionName } /", settings ) ;
121
121
} ) ;
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
- // });
143
122
144
123
Task ( "Publish-Package" )
145
124
. IsDependentOn ( "Create-Package" )
@@ -159,6 +138,7 @@ Task("Publish-Package")
159
138
{
160
139
Source = "https://nuget.org/api/v2/package" ,
161
140
ApiKey = apiKey ,
141
+ SkipDuplicate = true
162
142
} ) ;
163
143
}
164
144
} ) ;
You can’t perform that action at this time.
0 commit comments