Try to fix adopt-info.

https://forum.snapcraft.io/t/dirty-snap-release/12975/8

Thanks to ogra at Snapcraft forum.
This commit is contained in:
Lauri Ojansivu 2019-08-29 16:15:57 +03:00
parent 8a74210c60
commit be5f435bc5

View file

@ -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