Update release.sh (#8322)

* Update release.sh

Update release script to update rust flexbuffers

* Update Cargo.toml
This commit is contained in:
Derek Bailey 2024-05-28 18:44:37 -07:00 committed by GitHub
parent 28783927af
commit a5a2da0161
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "flexbuffers"
version = "2.0.0"
version = "24.3.25"
authors = ["Casper Neo <cneo@google.com>", "FlatBuffers Maintainers"]
edition = "2018"
license = "Apache-2.0"

View File

@ -68,6 +68,11 @@ sed -i \
"s/^version = \".*\"$/version = \"$version\"/g" \
rust/flatbuffers/Cargo.toml
echo "Updating rust/flexbuffers/Cargo.toml..."
sed -i \
"s/^version = \".*\"$/version = \"$version\"/g" \
rust/flexbuffers/Cargo.toml
echo "Updating FlatBuffers.podspec..."
sed -i \
-e "s/\(s.version\s*= \).*/\1'$version'/" \