Skip to content

Commit 074ca99

Browse files
authored
chore(build): only try publishing Debian and Redhat archives (#694)
1 parent 04db5f4 commit 074ca99

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

packages/build/src/run-publish.spec.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,7 @@ describe('publish', () => {
176176
shouldDoPublicRelease
177177
);
178178

179-
expect(barque.releaseToBarque).to.have.been.callCount(3);
180-
expect(barque.releaseToBarque).to.have.been.calledWith(
181-
BuildVariant.Linux,
182-
'https://s3.amazonaws.com/mciuploads/project/v0.7.0-draft.42/mongosh-0.7.0-linux.tgz'
183-
);
179+
expect(barque.releaseToBarque).to.have.been.callCount(2);
184180
expect(barque.releaseToBarque).to.have.been.calledWith(
185181
BuildVariant.Redhat,
186182
'https://s3.amazonaws.com/mciuploads/project/v0.7.0-draft.42/mongosh-0.7.0-x86_64.rpm'

packages/build/src/run-publish.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ async function publishArtifactsToBarque(
8888
getEvergreenArtifactUrl: typeof getArtifactUrlFn
8989
): Promise<void> {
9090
const variantsForBarque = [
91-
BuildVariant.Linux,
9291
BuildVariant.Debian,
9392
BuildVariant.Redhat
9493
];

0 commit comments

Comments
 (0)