From 1559e4ad90f40a8adde6b113c78860660c639565 Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Sun, 30 Jul 2017 22:54:04 +0000 Subject: [PATCH] hack to make the snap version not dirty --- snapcraft.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/snapcraft.yaml b/snapcraft.yaml index c42d743..3b76443 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -24,6 +24,7 @@ apps: parts: magic-wormhole: source: . + source-type: git plugin: python build-packages: - gcc @@ -31,3 +32,7 @@ parts: - libsodium-dev - libssl-dev - make + prepare: | + # FIXME make sure that the build dir has all the files from the repo, + # so the version is not tagged as dirty. --elopio - 20170730 + cp ../src/snapcraft.yaml .