diff options
-rw-r--r-- | snapcraft.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml index beef4a85..be35b3fc 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,6 +1,6 @@ name: wekan version: 0 -adopt-info: snapcraftctl set-version $(git describe --dirty --tags | cut -c 2-) +adopt-info: mypart summary: The Open-Source kanban description: | Wekan is an open-source and collaborative kanban board application. @@ -226,6 +226,11 @@ 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 |