Skip to content

Commit

Permalink
🩹 fix deploy script (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
woohm402 authored Aug 14, 2024
1 parent b5ffc4b commit 6aa04ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const execa = (command: string) =>
const deploy = async (target: 'base' | 'react') => {
console.log('Deploying', target);
const packageJson = await import(`../packages/${target}/package.json`);
const tagName = `react-v${packageJson.version}`;
const tagName = `${target}-v${packageJson.version}`;
await execa(`git tag ${tagName}`);
await execa(`git push origin ${tagName}`);
console.log('Tag pushed', tagName);
Expand Down

0 comments on commit 6aa04ad

Please sign in to comment.