fix(ci): show real current version in duplicate-deps error message - #955
Open
lucasmcdonald3 wants to merge 2 commits into
Open
fix(ci): show real current version in duplicate-deps error message#955lucasmcdonald3 wants to merge 2 commits into
lucasmcdonald3 wants to merge 2 commits into
Conversation
The duplicate aws-lc check parsed the current version from the output of grep -n, which still carries the "N:" line-number prefix, so a dep on line 18 was reported as aws-lc-sys = "18" instead of its real version. Strip the prefix before reading the version.
aws-lc-rs 1.18.1 resolves aws-lc-sys 0.45.0; the direct pins at 0.44 compiled a second copy in both runtime crates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
N/A
Description of changes:
Fix the error message displayed by
rust_duplicate_deps.ymlSquash/merge commit message, if applicable:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.