diff --git a/scripts/release/release-dev.js b/scripts/release/release-dev.js index 1a13478ae8..b1f6518a51 100644 --- a/scripts/release/release-dev.js +++ b/scripts/release/release-dev.js @@ -20,7 +20,6 @@ const releaseDev = () => { } const distPath = path.resolve(__dirname, '../../', 'packages', packageName, 'public', 'dist') - runCommand('rimraf', [`${distPath}/**/*.map`]) // This command remove the old version file in bucket const deleteResult = execSync(`aws s3 rm --recursive s3://${bucketName}`).toString() console.info(deleteResult) diff --git a/scripts/release/release-prod.js b/scripts/release/release-prod.js index 94c7a03e16..8989d11bbd 100644 --- a/scripts/release/release-prod.js +++ b/scripts/release/release-prod.js @@ -21,7 +21,6 @@ const releaseProd = async () => { if (packageName === packageNameOnTag) { const distPath = path.resolve(__dirname, '../../', 'packages', packageName, 'public', 'dist') // Remove source map files - runCommand('rimraf', [`${distPath}/**/*.map`]) runCommand('aws', [ 's3', 'cp',