Skip to content

Commit 47caa20

Browse files
authored
fix(ci): include bumped package.json in compile-ts tarball (#2346)
* Revert "fix(ci): bump package versions before running unit tests (#2345)" This reverts commit c120423. * fix(ci): include bumped package.json in compile-ts tarball
1 parent 2db2778 commit 47caa20

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.evergreen.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ functions:
119119
source .evergreen/setup-env.sh
120120
npm run evergreen-release bump
121121
npm run compile
122-
tar cvzf compiled-ts.tgz packages/*/{lib,dist}
122+
tar cvzf compiled-ts.tgz packages/*/{lib,dist,package.json} package.json package-lock.json
123123
- command: s3.put
124124
params:
125125
aws_key: ${aws_key}
@@ -190,7 +190,6 @@ functions:
190190
set -e
191191
{
192192
source .evergreen/setup-env.sh
193-
npm run evergreen-release bump
194193
npm run test-ci
195194
echo "Archiving current coverage result..."
196195
tar cvzf nyc-output.tgz .nyc_output

.evergreen/evergreen.yml.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ functions:
128128
source .evergreen/setup-env.sh
129129
npm run evergreen-release bump
130130
npm run compile
131-
tar cvzf compiled-ts.tgz packages/*/{lib,dist}
131+
tar cvzf compiled-ts.tgz packages/*/{lib,dist,package.json} package.json package-lock.json
132132
- command: s3.put
133133
params:
134134
aws_key: ${aws_key}
@@ -199,7 +199,6 @@ functions:
199199
set -e
200200
{
201201
source .evergreen/setup-env.sh
202-
npm run evergreen-release bump
203202
npm run test-ci
204203
echo "Archiving current coverage result..."
205204
tar cvzf nyc-output.tgz .nyc_output

0 commit comments

Comments
 (0)