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
Explanation
I upgraded from what was the old release-it yarn plugin to the one mentioned in the release-it readme. When running release-it --preRelease=next, I get the following error at the push step:
✔ syncpack list-mismatches
✔ syncpack format
✔ yarn workspaces foreach -pitv --no-private run release:before:init
🚀 Let's release taskless (3.0.0-next.0...3.0.0-next.1)
Changelog:
* deps: Updates release-it to latest (dc0efd1)
Changeset:
M package.json
? Commit (chore: Releases version v3.0.0-next.1)? Yes
? Tag (3.0.0-next.1)? Yes
? Push? Yes
ERROR Cannot destructure property 'distTag' of 'context.@release-it-plugins/workspaces' as it is undefined.
Version Info
"release-it": "^15.1.3"
"@release-it-plugins/workspaces": "^3.1.0"
.release-it.json
Explanation
I upgraded from what was the old release-it yarn plugin to the one mentioned in the release-it readme. When running
release-it --preRelease=next
, I get the following error at the push step:Triage
From what I can gather, it looks like https://github.com/release-it-plugins/workspaces/blob/master/index.js#L133 is the culprit, though it isn't clear if that's because we need to read the
distTag
again for ourselves, or release-it is no longer passing the distTag to plugins.The text was updated successfully, but these errors were encountered: