mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-14 17:52:44 -04:00
The Tag workflow hardcoded the latest-11 dist-tag (each release branch carried its own hardcoded major), so dispatching it from the wrong branch applied the wrong line's tag: tagging 10.34.5 from main pointed latest-11 at a v10 release (https://github.com/pnpm/pnpm/issues/12906). Derive latest-<major> from the version input instead, and fail fast when the requested tag names a different major than the version, or when a plain 'latest' tag would move backwards to an older major.