Skip to content

Commit

Permalink
fix: publish packages script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecarpini committed Oct 28, 2024
1 parent 74d90cc commit 8e0f5f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/publish-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as child_process from 'child_process';

const exec = util.promisify(child_process.exec);

const preparePackages = async () => {
const publishPackages = async () => {
const version = process.argv[2];

if (!version || !version.match(/^\d+\.\d+\.\d+$/)) {
Expand Down Expand Up @@ -51,7 +51,7 @@ const preparePackages = async () => {
console.log('\n______________________________________________________\n\n');
};

preparePackages().catch((e) => {
publishPackages().catch((e) => {
console.error(e);
process.exit(1);
});

0 comments on commit 8e0f5f6

Please sign in to comment.