-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run cargo update to update deps to latest version #12
Conversation
This should fix the problem we are seeing with Cumulus companions not building, because we have merged a non-breaking pr to Polkadot.
Sorry, what I thought is just not part of this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems good to me
# | ||
# This is for example needed if there was a pr to Substrate that only required a Polkadot companion | ||
# and Cumulus wasn't yet updated to use the latest commit of Polkadot. | ||
for update in $update_crates_on_default_branch; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why it needs to be run 2 times here and in patch_and_check_dependent()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are 2 different code paths.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question, but it's not a big deal to run cargo update 2 times, worst case nothing happens
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are different code paths. Both are not called together.
# | ||
# This is for example needed if there was a pr to Substrate that only required a Polkadot companion | ||
# and Cumulus wasn't yet updated to use the latest commit of Polkadot. | ||
for update in $update_crates_on_default_branch; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question, but it's not a big deal to run cargo update 2 times, worst case nothing happens
This should fix the problem we are seeing with Cumulus companions not
building, because we have merged a non-breaking pr to Polkadot.