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 /scripts | |
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/release.sh | 7 |
1 files changed, 6 insertions, 1 deletions
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 + @ |