mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-28 09:38:04 +00:00
[snap] Fix versioning (#5727)
* fix snap versioning * no need to install git as build packages
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
name: flatbuffers
|
name: flatbuffers
|
||||||
base: core18
|
base: core18
|
||||||
version: latest
|
version: git
|
||||||
version-script: git describe --always | sed -e 's/-/+git/;y/-/./' | tail -c +2
|
|
||||||
summary: FlatBuffers compiler
|
summary: FlatBuffers compiler
|
||||||
description: |
|
description: |
|
||||||
FlatBuffers compiler
|
FlatBuffers compiler
|
||||||
@@ -27,8 +26,6 @@ parts:
|
|||||||
- -DCMAKE_BUILD_TYPE=Release
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
build-packages:
|
build-packages:
|
||||||
- g++
|
- g++
|
||||||
# used to set version number
|
|
||||||
- git
|
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
flatc:
|
flatc:
|
||||||
|
|||||||
Reference in New Issue
Block a user