From 074ca99cb2761198041089e6d8bf01a8c8ffabc7 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 3 Mar 2021 17:47:10 +0100 Subject: [PATCH] chore(build): only try publishing Debian and Redhat archives (#694) --- packages/build/src/run-publish.spec.ts | 6 +----- packages/build/src/run-publish.ts | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/build/src/run-publish.spec.ts b/packages/build/src/run-publish.spec.ts index e3baeb550..a0c9e5e09 100644 --- a/packages/build/src/run-publish.spec.ts +++ b/packages/build/src/run-publish.spec.ts @@ -176,11 +176,7 @@ describe('publish', () => { shouldDoPublicRelease ); - expect(barque.releaseToBarque).to.have.been.callCount(3); - expect(barque.releaseToBarque).to.have.been.calledWith( - BuildVariant.Linux, - 'https://s3.amazonaws.com/mciuploads/project/v0.7.0-draft.42/mongosh-0.7.0-linux.tgz' - ); + expect(barque.releaseToBarque).to.have.been.callCount(2); expect(barque.releaseToBarque).to.have.been.calledWith( BuildVariant.Redhat, 'https://s3.amazonaws.com/mciuploads/project/v0.7.0-draft.42/mongosh-0.7.0-x86_64.rpm' diff --git a/packages/build/src/run-publish.ts b/packages/build/src/run-publish.ts index 85531241d..be5d8ebe8 100644 --- a/packages/build/src/run-publish.ts +++ b/packages/build/src/run-publish.ts @@ -88,7 +88,6 @@ async function publishArtifactsToBarque( getEvergreenArtifactUrl: typeof getArtifactUrlFn ): Promise { const variantsForBarque = [ - BuildVariant.Linux, BuildVariant.Debian, BuildVariant.Redhat ];