Skip to content

Commit 016b9fd

Browse files
committed
Fix build
1 parent cbd4156 commit 016b9fd

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

build.cake

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,15 @@ Task("CreateArtifact")
9191
MoveFile(tempPublishArchive, artifactFileName);
9292
BuildSystem.AppVeyor.UploadArtifact(artifactFileName);
9393

94-
BuildSystem.AppVeyor.UploadArtifact(string.Format("{0}.{1}.nupkg", parserProjectName, nugetVersion));
95-
BuildSystem.AppVeyor.UploadArtifact(string.Format("{0}.{1}.nupkg", httpConverterProjectName, nugetVersion));
94+
var parserPackageFile = string.Format("{0}.{1}.nupkg", parserProjectName, nugetVersion);
95+
var httpConverterPackageFile = string.Format("{0}.{1}.nupkg", httpConverterProjectName, nugetVersion);
96+
97+
BuildSystem.AppVeyor.UploadArtifact(parserPackageFile);
98+
BuildSystem.AppVeyor.UploadArtifact(httpConverterPackageFile);
99+
100+
// Delete files to avoid pushing them to Octopus Deploy
101+
DeleteFile(parserPackageFile);
102+
DeleteFile(httpConverterPackageFile);
96103
});
97104

98105
Task("SonarBegin")

0 commit comments

Comments
 (0)