Fixes creation of version number when in a branch
Change-Id: I0b6945dd526b820c99a4c0baa65e62ff3a214d60
Signed-off-by: beierlm <mark.beierl@canonical.com>
##
name: osmclient
base: core18
-version: git
+adopt-info: client
summary: A python client for orchestrating OSM
description: |
A python client for orchestrating Open Source Mano (OSM).
$SNAPCRAFT_PART_INSTALL/usr/bin/pip3 install -r requirements.txt
$SNAPCRAFT_PART_INSTALL/usr/bin/pip3 install .
rm -rf .tox
+ snapcraftctl set-version $(git describe --match v* --tags --long --dirty)
snapcraftctl build