Try to fix adopt-info.

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

Thanks to ogra at Snapcraft forum.
reviewable/pr2667/r1^2
Lauri Ojansivu 6 years ago
parent 8a74210c60
commit be5f435bc5
  1. 7
      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

Loading…
Cancel
Save