[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 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: