diff options
author | Casper <casperneo@uchicago.edu> | 2022-11-23 15:03:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-23 12:03:54 -0800 |
commit | 7b6c9f4a3c6089dd31c12939498f60580b1b86c2 (patch) | |
tree | 592fb7b97bdfa9a8cb07c250858dad0301bcc4f1 | |
parent | 5a42b2c76c28c4872f8d75c8768ad20f4677f117 (diff) | |
download | flatbuffers-7b6c9f4a3c6089dd31c12939498f60580b1b86c2.tar.gz flatbuffers-7b6c9f4a3c6089dd31c12939498f60580b1b86c2.tar.bz2 flatbuffers-7b6c9f4a3c6089dd31c12939498f60580b1b86c2.zip |
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 <cneo@google.com>
-rw-r--r-- | rust/flatbuffers/Cargo.toml | 2 | ||||
-rwxr-xr-x | scripts/release.sh | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/rust/flatbuffers/Cargo.toml b/rust/flatbuffers/Cargo.toml index 2cba5b72..8c01f2ee 100644 --- a/rust/flatbuffers/Cargo.toml +++ b/rust/flatbuffers/Cargo.toml @@ -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" 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 + @ |