Also test JS minification before publishing
This commit is contained in:
parent
2f5659bce0
commit
2542d6c24c
3
version
3
version
|
@ -67,8 +67,7 @@ if (cmd('git', 'status', '--porcelain', {throwOnStderr: true, captureStdio: true
|
|||
throw new Error('Working directory not clean');
|
||||
}
|
||||
cmd('bash', './prebuild.sh');
|
||||
// This will also build.
|
||||
cmd('cargo', 'test');
|
||||
cmd('cargo', 'test', '--features', 'js-esbuild');
|
||||
|
||||
for (const f of ['Cargo.toml', 'cli/Cargo.toml', 'nodejs/native/Cargo.toml', 'java/Cargo.toml', 'python/Cargo.toml', 'ruby/Cargo.toml']) {
|
||||
replaceInFile(f, /^version = "\d+\.\d+\.\d+"\s*$/m, `version = "${NEW_VERSION}"`);
|
||||
|
|
Loading…
Reference in New Issue