Skip to content

Commit

Permalink
chore(cli): fix publish cli command
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaslz committed Feb 7, 2024
1 parent b7c24c4 commit 912a735
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/cli/publish.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const run = async () => {

if (canCommit) {
shell.exec(
`git add . && git commit -m "chore(tag): bump version to ${newVersion}"`,
`git add ${__here} && git commit -m "chore(tag): bump version to ${newVersion}"`,
);
}

Expand All @@ -97,9 +97,7 @@ const run = async () => {
});

if (canTag) {
shell.exec(
`git add . && git tag ${newVersion} && git push -f --tags origin ${BRANCH}`,
);
shell.exec(`git tag ${newVersion} && git push -f --tags origin ${BRANCH}`);
}

const { value: canPublishPackage } = await prompt({
Expand Down

0 comments on commit 912a735

Please sign in to comment.