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
This commit is contained in:
Will Hickey 2022-09-19 16:37:50 -05:00 committed by GitHub
parent 9dbcdbfe5b
commit 8f96a39e73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 12 deletions

View File

@ -1949,7 +1949,7 @@ Returns all accounts owned by the provided program Pubkey
- `offset: <usize>` - offset into program account data to start comparison
- `bytes: <string>` - data to match, as encoded string
- `encoding: <string>` - encoding for filter `bytes` data, either "base58" or "base64". Data is limited in size to 128 or fewer decoded bytes.
**NEW: This field, and base64 support generally, is only available in solana-core v1.15.0 or newer. Please omit when querying nodes on earlier versions**
**NEW: This field, and base64 support generally, is only available in solana-core v1.11.2 or newer. Please omit when querying nodes on earlier versions**
- `dataSize: <u64>` - compares the program account data length with the provided data size

View File

@ -33,8 +33,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=()
@ -138,15 +136,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