diff --git a/scripts/publish.js b/scripts/publish.js index 7d95456..290f457 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -2,16 +2,14 @@ import { npm } from './utils.js'; export default async function publish(name, version) { const isPre = version.includes('alpha') || version.includes('beta'); - console.log('Called publish', isPre); try { - const res = await npm( + await npm( name, 'publish', '--access', 'public', ...(isPre ? ['--tag', 'pre'] : []), ); - console.log('Publish result', res); console.log(`INFO [${name}] published`); } catch (e) { console.error(`ERROR [${name}] publishing failed`);