From 36a97ae4268d892fde67d9267fb60a723255c7f4 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Mon, 4 May 2020 18:53:58 +0100 Subject: [PATCH 1/2] snap: potential build fix --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index e88338a3e9..15aacae6cf 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -29,7 +29,7 @@ parts: - git override-pull: | snapcraftctl pull - snapcraftctl set-version `cd $SNAPCRAFT_PART_SRC && git describe --tags` + snapcraftctl set-version $(cd $SNAPCRAFT_PART_SRC && git describe --tags) git diff --quiet || error_dirty_build echo 'PKG = "snap"' > $SNAPCRAFT_PART_SRC/dvc/utils/build.py # install all optional extras From fc495a48cd7f67865e34f57684c9dca03f126059 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Mon, 4 May 2020 19:57:05 +0100 Subject: [PATCH 2/2] snap: fix travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 9c87f26996..616a30d8ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -106,6 +106,7 @@ jobs: - sudo /snap/bin/lxd.migrate -yes - sudo /snap/bin/lxd waitready - sudo /snap/bin/lxd init --auto + - git fetch --tags script: - ./scripts/build_snap.sh after_failure: