You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wanna chime in that this has been a pain point for us in the Backstage repo, with releases causing a lot of unnecessary version bumps. Painful enough to be annoying, but harmless enough that we haven't prioritized digging into what's going on 😅
Would be awesome to see a fix for this 👍, would help both us and likely a lot of other people publishing releases from workspace monorepos. Also @Pike is a ⭐ from the Backstage community so expecting a quality fix 😁
Affected Packages
Problem
Dependents that are specifying their dependency as
workspace:^
get their version bumped regardless of the versions.This is due to
workspace:^
being mapped to the dependency range^
inchangesets/packages/assemble-release-plan/src/determine-dependents.ts
Line 197 in 93ee679
and that's not a valid
Range
insemver
land. And then the check inchangesets/packages/assemble-release-plan/src/determine-dependents.ts
Lines 89 to 92 in 93ee679
fails to detect that the semver satisfies.
Proposed solution
Probably better to replace
workspace:^
with"^" + dependencyRelease.oldVersion
The text was updated successfully, but these errors were encountered: