[snap] Fix versioning (#5727)

* fix snap versioning

* no need to install git as build packages
This commit is contained in:
Omer Akram 2020-02-13 21:05:21 +05:00 committed by GitHub
parent cc08c0835b
commit 6d44cede70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

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
version: git
summary: FlatBuffers compiler
description: |
FlatBuffers compiler
@ -27,8 +26,6 @@ parts:
- -DCMAKE_BUILD_TYPE=Release
build-packages:
- g++
# used to set version number
- git
apps:
flatc: