changesets / changesets

🦋 A way to manage your versioning and changelogs with a focus on monorepos
MIT License
8.36k stars 507 forks source link

fix(cli): typo in `changeset pre enter` when tag is not passed #1344

Open kunalnagar opened 2 months ago

kunalnagar commented 2 months ago

When a tag is not passed in to changeset pre enter, the error message thrown as a typo:

$ yarn changeset pre enter
🦋  error A tag must be passed when using prerelese enter

This PR fixes the typo in prerelease and adds a test for it as well.

changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: 68f6188af818c14daa9d76664e82f832724a8ec9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

codesandbox-ci[bot] commented 2 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

kunalnagar commented 2 months ago

cc: @Andarist for review