Skip to content

Commit 75fcc3e

Browse files
committed
Fix build
1 parent 016b9fd commit 75fcc3e

File tree

3 files changed

+5944
-22
lines changed

3 files changed

+5944
-22
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ for:
3131
deploy:
3232
- provider: Octopus
3333
push_packages: true
34+
artifact: CurlToCSharp.$(APPVEYOR_BUILD_VERSION).zip
3435
create_release: true
3536
deploy_release: true
3637
server: https://olsh.octopus.app

build.cake

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

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);
94+
BuildSystem.AppVeyor.UploadArtifact(string.Format("{0}.{1}.nupkg", parserProjectName, nugetVersion));
95+
BuildSystem.AppVeyor.UploadArtifact(string.Format("{0}.{1}.nupkg", httpConverterProjectName, nugetVersion));
10396
});
10497

10598
Task("SonarBegin")

0 commit comments

Comments
 (0)