diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-08-29 16:37:03 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-08-29 16:37:03 +0300 |
commit | 79d4cd83b1fa83bb814230683b7449ed7f3e1ede (patch) | |
tree | 59da79493c4500181a2488e4e2161099573e8655 | |
parent | 9bc80406347728a3aa19c1bc7df2566aca84abe6 (diff) | |
download | wekan-79d4cd83b1fa83bb814230683b7449ed7f3e1ede.tar.gz wekan-79d4cd83b1fa83bb814230683b7449ed7f3e1ede.tar.bz2 wekan-79d4cd83b1fa83bb814230683b7449ed7f3e1ede.zip |
Fix Snap adopt-info.
https://forum.snapcraft.io/t/dirty-snap-release/12975/12?u=xet7
Thanks to popey at Snapcraft forum.
-rw-r--r-- | snapcraft.yaml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml index 0f318992..411717a1 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,6 +1,6 @@ name: wekan version: 0 -adopt-info: mypart +adopt-info: wekan summary: The Open-Source kanban description: | Wekan is an open-source and collaborative kanban board application. @@ -63,12 +63,6 @@ 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 @@ -227,6 +221,9 @@ parts: rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-gyp/node_modules/tar/lib/.mkdir.js.swp # Meteor 1.8.x additional .swp remove rm -f $SNAPCRAFT_PART_INSTALL/programs/server/node_modules/node-pre-gyp/node_modules/tar/lib/.mkdir.js.swp + # Wekan version + snapcraftctl set-version "$(git describe --dirty --tags | cut -c 2-)" + snapcraftctl build organize: README: README.wekan prime: |