Snap version (#3741)

* snap: potential build fix

* snap: fix travis
This commit is contained in:
Casper da Costa-Luis
2020-05-05 12:48:19 +03:00
committed by GitHub
parent 93d7b9173b
commit 795f001929
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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:
+1 -1
View File
@@ -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