diff options
-rw-r--r-- | snapcraft.yaml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml index be35b3fc..0f318992 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 |