* Update release script to update Rust version (it still needs to be published after)

* Also update rust while I'm at it

Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
Casper
2022-11-23 15:03:54 -05:00
committed by GitHub
parent 5a42b2c76c
commit 7b6c9f4a3c
2 changed files with 7 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "flatbuffers"
version = "22.10.26"
version = "22.11.23"
edition = "2018"
authors = ["Robert Winslow <hello@rwinslow.com>", "FlatBuffers Maintainers"]
license = "Apache-2.0"

View File

@@ -63,6 +63,11 @@ sed -i \
-e "s/\(version='\).*/\1$version',/" \
python/setup.py
echo "Updating rust/flatbuffers/Cargo.toml..."
sed -i \
"s/^version = \".*\"$/version = \"$version\"/g" \
rust/flatbuffers/Cargo.toml
echo "Updating FlatBuffers.podspec..."
sed -i \
-e "s/\(s.version\s*= \).*/\1'$version'/" \
@@ -78,4 +83,4 @@ echo "Updating FLATBUFFERS_X_X_X() version check...."
grep -rl 'FLATBUFFERS_\d*' * --exclude=release.sh | xargs -i@ \
sed -i \
-e "s/\(FLATBUFFERS_\)[0-9]\{2\}.*()/\1$version_underscore()/g" \
@
@