Skip to content

fix: stage npm release outside the git working tree - #3

Merged
devzeebo merged 1 commit into
mainfrom
fix/stage-outside-git-tree
Aug 29, 2026
Merged

devzeebo merged 1 commit into
mainfrom
fix/stage-outside-git-tree

Conversation

@devzeebo

Copy link
Copy Markdown
Owner

Summary

  • Pack/extract the prerelease tarball under $RUNNER_TEMP so pnpm stage publish does not see an unclean git tree (ERR_PNPM_GIT_UNCLEAN)

Test plan

  • PR prerelease job passes
  • After merge, release → Stage release succeeds (or fails with a clear non-git error)

pnpm stage publish fails with ERR_PNPM_GIT_UNCLEAN when the pack/extract
artifacts live in the main checkout. Use RUNNER_TEMP instead.
@devzeebo
devzeebo merged commit 829f947 into main Aug 29, 2026
2 checks passed
@devzeebo
devzeebo deleted the fix/stage-outside-git-tree branch August 29, 2026 20:42
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.

1 participant