diff --git a/library.json b/library.json new file mode 100644 index 000000000..8411a2859 --- /dev/null +++ b/library.json @@ -0,0 +1,26 @@ +{ + "_comment": "This file is used by PlatformIO to get the information it needs to use FlatBuffers as a dependency for a project.", + "name": "flatbuffers", + "version": "25.9.23", + "description": "FlatBuffers is a cross platform serialization library architected for maximum memory efficiency", + "keywords": "FlatBuffers, serialization", + "repository": { + "type": "git", + "url": "https://github.com/google/flatbuffers" + }, + "authors": [ + { + "name": "The FlatBuffers project", + "maintainer": true + } + ], + "license": "Apache-2.0", + "frameworks": "*", + "platforms": "*", + "build": { + "includeDir": "include", + "srcFilter": "-<*>" + } +} + + diff --git a/scripts/release.sh b/scripts/release.sh index c1315aa6a..7c3a73f31 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -74,6 +74,11 @@ sed -i \ -e "s/\(\"version\": \).*/\1\"$version\",/" \ package.json +echo "Updating library.json..." +sed -i \ + -e "s/\(\"version\": \).*/\1\"$version\",/" \ + library.json + echo "Updating net/FlatBuffers/Google.FlatBuffers.csproj..." sed -i \ -e "s/\(\).*\(<\/PackageVersion>\)/\1$version\2/" \