Skip to content

Commit c120423

Browse files
authored
fix(ci): bump package versions before running unit tests (#2345)
1 parent 084e73b commit c120423

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.evergreen.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ functions:
190190
set -e
191191
{
192192
source .evergreen/setup-env.sh
193+
npm run evergreen-release bump
193194
npm run test-ci
194195
echo "Archiving current coverage result..."
195196
tar cvzf nyc-output.tgz .nyc_output
@@ -4277,7 +4278,7 @@ functions:
42774278
export PUPPETEER_SKIP_DOWNLOAD="true"
42784279
npm run evergreen-release draft
42794280
git add .
4280-
git commit --no-allow-empty -m "chore(release): bump to prepare for mongosh release"
4281+
git commit --no-allow-empty -m "chore(release): bump to prepare for mongosh release"
42814282
}
42824283
42834284
release_publish_download_and_list_artifacts:

.evergreen/evergreen.yml.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ functions:
199199
set -e
200200
{
201201
source .evergreen/setup-env.sh
202+
npm run evergreen-release bump
202203
npm run test-ci
203204
echo "Archiving current coverage result..."
204205
tar cvzf nyc-output.tgz .nyc_output
@@ -922,7 +923,7 @@ functions:
922923
export PUPPETEER_SKIP_DOWNLOAD="true"
923924
npm run evergreen-release draft
924925
git add .
925-
git commit --no-allow-empty -m "chore(release): bump to prepare for mongosh release"
926+
git commit --no-allow-empty -m "chore(release): bump to prepare for mongosh release"
926927
}
927928

928929
release_publish_download_and_list_artifacts:

0 commit comments

Comments
 (0)