[snap] Fix versioning (#5727)
* fix snap versioning * no need to install git as build packages
This commit is contained in:
parent
cc08c0835b
commit
6d44cede70
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue