From 9bc80406347728a3aa19c1bc7df2566aca84abe6 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 29 Aug 2019 16:31:45 +0300 Subject: [PATCH] Try to fix adopt-info. Thanks to xet7. --- snapcraft.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index be35b3fc2..0f3189923 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -63,6 +63,12 @@ apps: command: mongodb-restore plugs: [network, network-bind] +part: + mypart: + override-build: | + snapcraftctl set-version "$(git describe --dirty --tags | cut -c 2-)" + snapcraftctl build + parts: mongodb: source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.2.22.tgz @@ -226,11 +232,6 @@ parts: prime: - -lib/node_modules/node-pre-gyp/node_modules/tar/lib/.unpack.js.swp - mypart: - override-build: | - snapcraftctl set-version "$(git describe --dirty --tags | cut -c 2-)" - snapcraftctl build - helpers: source: snap-src plugin: dump