Skip to content

Commit

Permalink
Remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindet committed May 27, 2024
1 parent f5979e4 commit ef47e76
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down

0 comments on commit ef47e76

Please sign in to comment.