Skip to content

Commit b75d6c8

Browse files
committed
Upload artifact to dl center no matter what
1 parent 302daf6 commit b75d6c8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/build/src/release.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ const release = async(config: Config) => {
5353
config.project,
5454
config.revision
5555
);
56+
// Upload the artifact to downloads.10gen.com
57+
await uploadArtifactToDownloads(
58+
artifact,
59+
config.downloadCenterAwsKey,
60+
config.downloadCenterAwsSecret,
61+
config.project,
62+
config.revision
63+
);
5664

5765
// Create release and upload assets to Github. Will return true if the current
5866
// version is a new release and the release was created on Github.
@@ -63,14 +71,6 @@ const release = async(config: Config) => {
6371
// Publish the .rpm (only on linux)
6472
// Create PR for Homebrew (only on macos)
6573

66-
// Upload the artifact to downloads.10gen.com
67-
await uploadArtifactToDownloads(
68-
artifact,
69-
config.downloadCenterAwsKey,
70-
config.downloadCenterAwsSecret,
71-
config.project,
72-
config.revision
73-
);
7474

7575
// Create download center config and upload.
7676
// Publish to NPM.

0 commit comments

Comments
 (0)