Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrectly showing "You must specify a dist-tag using --tag when publishing a pre-release version." #554

Closed
adam-lynch opened this issue Jul 8, 2020 · 1 comment · Fixed by #555

Comments

@adam-lynch
Copy link

Description

The "You must specify a dist-tag using --tag when publishing a pre-release version." error is shown even though a tag is provided.

Steps to reproduce

  1. Run np --any-branch --tag=beta.
  2. Select prepatch.

Expected behavior

It works, no error.

Environment

np - 6.3.1
Node.js - 12.6.1
npm - 6.13.4
Git - 2.24.3 (Apple Git-128)
OS - 10.15.2


I went back to version 6.2.4 and it works fine.

@dopecodez
Copy link
Collaborator

dopecodez commented Jul 10, 2020

Should be fixed with #555 . Could you have a look, @sindresorhus ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants