We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0fefd4 commit 3258750Copy full SHA for 3258750
internal/examples/src/convert.ts
@@ -446,8 +446,16 @@ export async function convertE2EToExample(config: ConvertE2EToExampleConfig) {
446
using _ = defer(() => console.groupEnd());
447
448
const [, waitForExit] = await spawn(
449
- { cwd: path.join(__project, 'examples') },
+ {
450
+ cwd: path.join(__project, 'examples'),
451
+ env: {
452
+ // remove timestamps
453
+ GZIP: '-n',
454
+ },
455
456
'tar',
457
+ // consistent sort of files (by default tar sorts files by order of the filesystem)
458
+ '--sort=name',
459
'-czf',
460
`${config.e2e}.tar.gz`,
461
`--exclude=${config.e2e}/node_modules`,
0 commit comments