X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=snap%2Fsnapcraft.yaml;fp=snap%2Fsnapcraft.yaml;h=d9508524eb96040dcbf25ca3f4878f8365af716e;hb=309083dc64655bb4c6f58caa7d7b255692fb52df;hp=e131f3b2a75b19835a2a24bbe1ed5a2e06f19088;hpb=77aa27e0df225caefbd43cecc287e615dd2122ec;p=osm%2Fosmclient.git diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index e131f3b..d950852 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -16,7 +16,7 @@ ## 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). @@ -75,4 +75,5 @@ parts: $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