Bump flatbuffers to v24.3.25 version (#6968)

This commit is contained in:
Siarhei Fedartsou
2024-07-10 20:44:36 +02:00
committed by GitHub
parent 7436835244
commit 825132eec7
737 changed files with 50923 additions and 99849 deletions
+16 -4
View File
@@ -1,7 +1,6 @@
name: flatbuffers
base: core18
version: latest
version-script: git describe --always | sed -e 's/-/+git/;y/-/./' | tail -c +2
adopt-info: flatc
summary: FlatBuffers compiler
description: |
FlatBuffers compiler
@@ -27,11 +26,24 @@ parts:
- -DCMAKE_BUILD_TYPE=Release
build-packages:
- g++
# used to set version number
- git
override-pull: |
snapcraftctl pull
tag=$(git describe --tags --abbrev=0)
count=$(git rev-list $tag.. --count)
if [ "$count" = 0 ];
then
version=$tag
else
hash=$(git rev-parse --short HEAD)
version=$tag+git$count.$hash
fi
snapcraftctl set-version $version
apps:
flatc:
command: flatc
command: bin/flatc
plugs:
- home
- removable-media