Skip to content

Commit

Permalink
Update release.sh (#8322)
Browse files Browse the repository at this point in the history
* Update release.sh

Update release script to update rust flexbuffers

* Update Cargo.toml
  • Loading branch information
dbaileychess authored May 29, 2024
1 parent 2878392 commit a5a2da0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rust/flexbuffers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flexbuffers"
version = "2.0.0"
version = "24.3.25"
authors = ["Casper Neo <cneo@google.com>", "FlatBuffers Maintainers"]
edition = "2018"
license = "Apache-2.0"
Expand Down
5 changes: 5 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'/" \
Expand Down

0 comments on commit a5a2da0

Please sign in to comment.