X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=snap%2Fsnapcraft.yaml;h=d9508524eb96040dcbf25ca3f4878f8365af716e;hb=8a29667fc3e9222e6ee2288c69d7a450d6bc014a;hp=e131f3b2a75b19835a2a24bbe1ed5a2e06f19088;hpb=52424a2ae26db69c5a97d01e84454ffdd4d31228;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