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

Allow publishing from tags / non-branches #1451

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

NullVoxPopuli
Copy link
Contributor

Addresses:

Run pnpm -r publish --access public
 ERR_PNPM_GIT_UNKNOWN_BRANCH  The Git HEAD may not attached to any branch, but your "publish-branch" is set to "master|main".

We don't care about the git branch in this case, because we're running off of a tag.

Docs here: https://pnpm.io/cli/publish#configuration

@NullVoxPopuli NullVoxPopuli changed the title Allow publishing from detached HEAD state Allow publishing from tags / non-branches Oct 23, 2023
@NullVoxPopuli NullVoxPopuli merged commit 89d6302 into master Oct 23, 2023
5 checks passed
@NullVoxPopuli NullVoxPopuli deleted the allow-publishing-from-detached-head branch October 23, 2023 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant