From 7b6c9f4a3c6089dd31c12939498f60580b1b86c2 Mon Sep 17 00:00:00 2001 From: Casper Date: Wed, 23 Nov 2022 15:03:54 -0500 Subject: Rurel (#7663) * 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 --- scripts/release.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/release.sh b/scripts/release.sh index 80a93c00..ba37e578 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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" \ - @ \ No newline at end of file + @ -- cgit v1.2.3