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 2d25c68 commit f3f345aCopy full SHA for f3f345a
test/integration-test.spec.ts
@@ -21,13 +21,16 @@ async function setupServerPath() {
21
// If TEST_BUILT_TARBALL is set, test the latest built ready-to-go tarball:
22
const tmpDir = tmp.dirSync({ unsafeCleanup: true }).name;
23
const version = require(path.join('..', 'package.json')).version;
24
+
25
+ const channel = version.split('-')[1] || '';
26
27
const tarballPath = path.join(
28
__dirname,
29
'..',
30
'build',
31
'dist',
32
`v${version}`,
- `httptoolkit-server-v${version}-${process.platform}-${process.arch}.tar.gz`
33
+ `${channel ? channel + '-' : ''}httptoolkit-server-v${version}-${process.platform}-${process.arch}.tar.gz`
34
);
35
36
console.log('Extracting built tarball to', tmpDir);
0 commit comments