Skip to content

Commit 3258750

Browse files
committed
stable
1 parent d0fefd4 commit 3258750

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

internal/examples/src/convert.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,16 @@ export async function convertE2EToExample(config: ConvertE2EToExampleConfig) {
446446
using _ = defer(() => console.groupEnd());
447447

448448
const [, waitForExit] = await spawn(
449-
{ cwd: path.join(__project, 'examples') },
449+
{
450+
cwd: path.join(__project, 'examples'),
451+
env: {
452+
// remove timestamps
453+
GZIP: '-n',
454+
},
455+
},
450456
'tar',
457+
// consistent sort of files (by default tar sorts files by order of the filesystem)
458+
'--sort=name',
451459
'-czf',
452460
`${config.e2e}.tar.gz`,
453461
`--exclude=${config.e2e}/node_modules`,

0 commit comments

Comments
 (0)