Skip to content

Commit 76071e2

Browse files
committed
Add Github latest release checking
1 parent 7356e15 commit 76071e2

File tree

11 files changed

+504
-58
lines changed

11 files changed

+504
-58
lines changed

.evergreen.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@ variables:
99
shell: bash
1010
script: |
1111
source .evergreen/.setup_env
12-
export SEGMENT_API_KEY=${segment_key}
13-
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
14-
export PROJECT=${project}
15-
export REVISION=${revision}
16-
export AWS_KEY=${aws_key}
17-
export AWS_SECRET=${aws_secret}
18-
export DOWNLOAD_CENTER_AWS_KEY=${download_center_aws_key}
19-
export DOWNLOAD_CENTER_AWS_SECRET=${download_center_aws_secret}
20-
export DOWNLOADS_AWS_KEY=${downloads_aws_key}
21-
export DOWNLOADS_AWS_SECRET=${downloads_aws_secret}
12+
export SEGMENT_API_KEY="${segment_key}"
13+
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
14+
export PROJECT="${project}"
15+
export REVISION="${revision}"
16+
export AWS_KEY="${aws_key}"
17+
export AWS_SECRET="${aws_secret}"
18+
export DOWNLOAD_CENTER_AWS_KEY="${download_center_aws_key}"
19+
export DOWNLOAD_CENTER_AWS_SECRET="${download_center_aws_secret}"
20+
export GITHUB_TOKEN="${github_token}"
2221
npm run release
2322
# Functions are any command that can be run.
2423
#

config/build.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ module.exports = {
3838
evgAwsSecret: process.env.AWS_SECRET,
3939
downloadCenterAwsKey: process.env.DOWNLOAD_CENTER_AWS_KEY,
4040
downloadCenterAwsSecret: process.env.DOWNLOAD_CENTER_AWS_SECRET,
41-
downloadsAwsKey: process.env.DOWNLOADS_AWS_KEY,
42-
downloadsAwsSecret: process.env.DOWNLOADS_AWS_SECRET
41+
githubToken: process.env.GITHUB_TOKEN,
42+
segmentKey: process.env.SEGMENT_API_KEY
4343
};

package-lock.json

Lines changed: 102 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)