Skip to content

Commit

Permalink
Rurel (google#7663)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
2 people authored and candhyan committed Jan 2, 2023
1 parent edf9b9a commit 766e916
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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"
Expand Down
7 changes: 6 additions & 1 deletion scripts/release.sh
Expand Up @@ -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'/" \
Expand All @@ -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" \
@
@

0 comments on commit 766e916

Please sign in to comment.