Skip to content

Commit

Permalink
Remove markdown file update from version increment-cargo-version.sh (…
Browse files Browse the repository at this point in the history
…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 8f96a39)

# Conflicts:
#	docs/src/developing/clients/jsonrpc-api.md

* Resolve merge conflict

Co-authored-by: Will Hickey <[email protected]>
  • Loading branch information
mergify[bot] and willhickey authored Oct 4, 2022
1 parent 92b6b53 commit f43352b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions scripts/increment-cargo-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=()
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit f43352b

Please sign in to comment.