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
If I decide to release off of a PR I want to be able to compute the version of this new release ahead of time, for example so that I can update the version of my tool in a package.json file before the release is made.
The problem is that the version computed by e.g. auto version only looks at the labels applied to the PR itself - not to any previously merged PRs. That is, if I'm releasing off a "patch" PR but have made a "breaking" change since the last release, the computed version will just be "patch".
It seems that we would need to use auto shipit --dry-run. However, auto does this thing called "context aware publishing" where it makes a canary release when run on a PR branch (as we are): https://intuit.github.io/auto/docs/generated/shipit
And when we run auto shipit --dry-run on the PR branch, we get a warning that:
warning None of the plugins that you are using implement the `canary` command!
So we don't know how to proceed from here. Would really appreciate if someone has a tip or could share a similar setup for us to learn from. Many thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
If I decide to release off of a PR I want to be able to compute the version of this new release ahead of time, for example so that I can update the version of my tool in a package.json file before the release is made.
The problem is that the version computed by e.g.
auto version
only looks at the labels applied to the PR itself - not to any previously merged PRs. That is, if I'm releasing off a "patch" PR but have made a "breaking" change since the last release, the computed version will just be "patch".It seems that we would need to use
auto shipit --dry-run
. However, auto does this thing called "context aware publishing" where it makes a canary release when run on a PR branch (as we are): https://intuit.github.io/auto/docs/generated/shipitAnd when we run
auto shipit --dry-run
on the PR branch, we get a warning that:So we don't know how to proceed from here. Would really appreciate if someone has a tip or could share a similar setup for us to learn from. Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions