From 007c0646721f7e701e135ceb0a89e478c3400e88 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 29 Aug 2019 02:09:01 +0300 Subject: 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. --- snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3-1-g7c22