From f43352b3e2f1f327d19c1bfd18ee7f9605324b24 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 4 Oct 2022 21:49:22 +0000 Subject: [PATCH] Remove markdown file update from version increment-cargo-version.sh (backport #27851) (#27927) * Remove markdown file update from version increment-cargo-version.sh (#27851) * Remove markdown file update from version increment-cargo-version.sh * Update doc version numbers that were incorrectly advanced by increment-cargo-version.sh * Revert incorrect doc change based on review feedback (cherry picked from commit 8f96a39e7316b904cf043ec29b295d16fbb0d999) # Conflicts: # docs/src/developing/clients/jsonrpc-api.md * Resolve merge conflict Co-authored-by: Will Hickey --- scripts/increment-cargo-version.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/increment-cargo-version.sh b/scripts/increment-cargo-version.sh index 3c69debd45881c..faf91f36d61ea2 100755 --- a/scripts/increment-cargo-version.sh +++ b/scripts/increment-cargo-version.sh @@ -34,8 +34,6 @@ done # shellcheck disable=2207 Cargo_tomls=($(find . -mindepth 2 -name Cargo.toml "${not_paths[@]}")) -# shellcheck disable=2207 -markdownFiles=($(find . -name "*.md" "${not_paths[@]}")) # Collect the name of all the internal crates crates=() @@ -139,15 +137,6 @@ for Cargo_toml in "${Cargo_tomls[@]}"; do done done -# Update all the documentation references -for file in "${markdownFiles[@]}"; do - # Set new crate version - ( - set -x - sed -i "$file" -e "s/$currentVersion/$newVersion/g" - ) -done - # Update cargo lock files scripts/cargo-for-all-lock-files.sh tree >/dev/null