summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-08-29 02:09:01 +0300
committerLauri Ojansivu <x@xet7.org>2019-08-29 02:09:01 +0300
commit007c0646721f7e701e135ceb0a89e478c3400e88 (patch)
tree79db8a1978d2ea3fa80bbe0938cb12397c67ca11 /snapcraft.yaml
parent9c15fb1e695ca6786d1e4da9c054c223dd3abe49 (diff)
downloadwekan-007c0646721f7e701e135ceb0a89e478c3400e88.tar.gz
wekan-007c0646721f7e701e135ceb0a89e478c3400e88.tar.bz2
wekan-007c0646721f7e701e135ceb0a89e478c3400e88.zip
Fix dirty snap release.
https://stackoverflow.com/questions/16035240/why-is-git-describe-dirty-adding-a-dirty-suffix-when-describing-a-clean-ch https://forum.snapcraft.io/t/dirty-snap-release/12975 Thanks to xet7.
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 15fd9fc3..4b94a8ca 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,6 +1,6 @@
name: wekan
version: 0
-version-script: git describe --dirty --tags | cut -c 2-
+version-script: git update-index --refresh && git describe --dirty --tags | cut -c 2-
summary: The open-source kanban
description: |
Wekan is an open-source and collaborative kanban board application.