Skip to content

fix: wrong tag stated in pnpm publish#7862

Merged
zkochan merged 3 commits intopnpm:mainfrom
momeemt:fix/wrong-tag-stated-in-pnpm-publish
Apr 6, 2024
Merged

fix: wrong tag stated in pnpm publish#7862
zkochan merged 3 commits intopnpm:mainfrom
momeemt:fix/wrong-tag-stated-in-pnpm-publish

Conversation

@momeemt
Copy link
Copy Markdown
Contributor

@momeemt momeemt commented Apr 6, 2024

Closes #7845

Prior to this PR, pnpm publishes a package when we run pnpm publish package-1.0.1.tgz --access public --no-git-checks --tag exp --ignore-scripts, but ignores --tag, --access and all options.
Because pnpm only passes the tarball name to params in releasing/plugin-commands-publishing/src/publish.ts.

After this PR we can use pnpm with any options.

I've just started learning about pnpm, so apologies if I'm wrong. The original code ignored processing for args, such as the --publish-branch option, because the processing for the tarball was done first, but I am not confident that this is correct.

@momeemt momeemt requested a review from zkochan as a code owner April 6, 2024 07:27
@welcome
Copy link
Copy Markdown

welcome bot commented Apr 6, 2024

💖 Thanks for opening this pull request! 💖
Please be patient and we will get back to you as soon as we can.

@zkochan zkochan merged commit f7537b8 into pnpm:main Apr 6, 2024
@welcome
Copy link
Copy Markdown

welcome bot commented Apr 6, 2024

Congrats on merging your first pull request! 🎉🎉🎉

zkochan added a commit that referenced this pull request Apr 6, 2024
close #7845

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
@momeemt momeemt deleted the fix/wrong-tag-stated-in-pnpm-publish branch April 7, 2024 00:21
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 this pull request may close these issues.

Wrong tag stated in pnpm publish output

2 participants