-
-
Notifications
You must be signed in to change notification settings - Fork 10
chore: Verify that the tag used for publishing matches the version number #1067
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
Conversation
|
||
if (!tagVerified) { | ||
throw new Error( | ||
`Publishing under a mismatched tag "${chosenPublishTag}" for version ${packageJSON.version}.`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I'm not mistaken if there's no tag provided (it's undefined) then this will always throw. and e.g. for typegpu
package (currently not alpha) we want there to be no tag. so I think the logic for undefined needs to be changed, we cannot look for "undefined" in version number
pkg.pr.new packages
benchmark commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 🛠️
No description provided.