Skip to content

Commit

Permalink
chore(build): only try publishing Debian and Redhat archives (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
rose-m authored Mar 3, 2021
1 parent 04db5f4 commit 074ca99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions packages/build/src/run-publish.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion packages/build/src/run-publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ async function publishArtifactsToBarque(
getEvergreenArtifactUrl: typeof getArtifactUrlFn
): Promise<void> {
const variantsForBarque = [
BuildVariant.Linux,
BuildVariant.Debian,
BuildVariant.Redhat
];
Expand Down

0 comments on commit 074ca99

Please sign in to comment.