Skip to content

Commit 536a994

Browse files
committed
Merge branch 'release/7.0.0-rc1'
2 parents 1cb164c + ee2795f commit 536a994

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build.cake

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ Task("PackageUI32")
212212

213213
Task("DeployReleases")
214214
.WithCriteria(AppVeyor.IsRunningOnAppVeyor && isMasterBranch && hasGithubToken)
215-
.IsDependentOn("UploadArtifacts")
216215
.Does(() =>
217216
{
218217
Information($"Uploading Papercut SMTP 64-bit Release {GitVersionOutput.BuildServer}");
@@ -277,7 +276,6 @@ Task("BuildAndPackServiceWin32")
277276
.Does(() =>
278277
{
279278
CleanDirectory(publishDirectory);
280-
CleanDirectory(releasesDirectory);
281279

282280
var runtime = "win-x86";
283281

@@ -302,7 +300,7 @@ Task("BuildAndPackServiceWin32")
302300

303301
Task("UploadArtifacts")
304302
.WithCriteria(AppVeyor.IsRunningOnAppVeyor)
305-
.IsDependentOn("PackageUI32")
303+
.IsDependentOn("BuildAndPackServiceWin32")
306304
.Does(() =>
307305
{
308306
foreach (var file in GetFiles(releasesDirectory.ToString() + "/**/*.zip"))
@@ -323,8 +321,8 @@ Task("All")
323321
.IsDependentOn("BuildUI32").IsDependentOn("PackageUI32")
324322
.IsDependentOn("BuildUI64").IsDependentOn("PackageUI64")
325323
.IsDependentOn("DeployReleases")
326-
.IsDependentOn("BuildAndPackServiceWin32")
327324
.IsDependentOn("BuildAndPackServiceWin64")
325+
.IsDependentOn("BuildAndPackServiceWin32")
328326
.IsDependentOn("UploadArtifacts")
329327
.OnError(exception => Error(exception));
330328

0 commit comments

Comments
 (0)