Improve publish workflow comment with actual package versions#6380
Improve publish workflow comment with actual package versions#6380
Conversation
The PR comment for tagged releases was using the branch name as the npm tag for install commands, which caused issues when users tried to install (npm interpreted it as a directory path). Now uses the actual version numbers from the published packages instead. https://claude.ai/code/session_012rv6RM3g1B2nE2kZaNwmYx
|
Playwright E2E Test ResultsDetails
Skipped testschromium › retain-input-value-from-localstorage.spec.ts › Local storage retain edit test |
| console.log('📝 Generated packages section:', packagesSection); | ||
|
|
||
| // Generate install commands using actual versions | ||
| let installCommands = packages.map(pkg => `pnpm add ${pkg.name}@${pkg.version}`).join('\n'); |
There was a problem hiding this comment.
No this is just for the user to copy to run it themselves easily
Description
Updates the GitHub Actions publish workflow to generate more accurate and helpful installation instructions in PR comments. Instead of using a generic tag placeholder, which was causing issues when trying to install as it thought I was pointing to a sub packages like
package@foo/bar.