From a5a2da016145ab3ca89ebf50facb74426af6446e Mon Sep 17 00:00:00 2001 From: Derek Bailey Date: Tue, 28 May 2024 18:44:37 -0700 Subject: [PATCH] Update release.sh (#8322) * Update release.sh Update release script to update rust flexbuffers * Update Cargo.toml --- rust/flexbuffers/Cargo.toml | 2 +- scripts/release.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rust/flexbuffers/Cargo.toml b/rust/flexbuffers/Cargo.toml index e4fa6fa54..b3544676b 100644 --- a/rust/flexbuffers/Cargo.toml +++ b/rust/flexbuffers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flexbuffers" -version = "2.0.0" +version = "24.3.25" authors = ["Casper Neo ", "FlatBuffers Maintainers"] edition = "2018" license = "Apache-2.0" diff --git a/scripts/release.sh b/scripts/release.sh index 4a426f687..4beac49e0 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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'/" \