Skip to content

Commit

Permalink
Fixed deployment script error
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeGinnivan committed Aug 29, 2016
1 parent fbe3999 commit b525f21
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy.cake
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ Task("DownloadGitHubReleaseArtifacts")
.ToDictionary(v => v[0], v => v[1]);

// Have had missing artifacts before, lets fail early in that scenario
if (!artifactLookup.ContainsKey("NuGetRefBuild")) { throw new Exception("NuGetRefBuild" artifact missing); }
if (!artifactLookup.ContainsKey("NuGetCommandLineBuild")) { throw new Exception("NuGetCommandLineBuild" artifact missing); }
if (!artifactLookup.ContainsKey("NuGetTaskBuild")) { throw new Exception("NuGetTaskBuild" artifact missing); }
if (!artifactLookup.ContainsKey("NuGetExeBuild")) { throw new Exception("NuGetExeBuild" artifact missing); }
if (!artifactLookup.ContainsKey("GemBuild")) { throw new Exception("GemBuild" artifact missing); }
if (!artifactLookup.ContainsKey("GitVersionTfsTaskBuild")) { throw new Exception("GitVersionTfsTaskBuild" artifact missing); }
if (!artifactLookup.ContainsKey("NuGetRefBuild")) { throw new Exception("NuGetRefBuild artifact missing"); }
if (!artifactLookup.ContainsKey("NuGetCommandLineBuild")) { throw new Exception("NuGetCommandLineBuild artifact missing"); }
if (!artifactLookup.ContainsKey("NuGetTaskBuild")) { throw new Exception("NuGetTaskBuild artifact missing"); }
if (!artifactLookup.ContainsKey("NuGetExeBuild")) { throw new Exception("NuGetExeBuild artifact missing"); }
if (!artifactLookup.ContainsKey("GemBuild")) { throw new Exception("GemBuild artifact missing"); }
if (!artifactLookup.ContainsKey("GitVersionTfsTaskBuild")) { throw new Exception("GitVersionTfsTaskBuild artifact missing"); }
});

Task("Publish-NuGetPackage")
Expand Down

0 comments on commit b525f21

Please sign in to comment.