mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 07:18:27 +01:00
PKG = "snap"
Fixes https://github.com/iterative/dvc/pull/2778#issuecomment-554651335
This commit is contained in:
@@ -8,7 +8,7 @@ if [ ! -d "dvc" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "PKG = \"pip\"" > dvc/utils/build.py
|
||||
echo 'PKG = "pip"' > dvc/utils/build.py
|
||||
|
||||
python setup.py sdist
|
||||
python setup.py bdist_wheel --universal
|
||||
|
||||
@@ -19,6 +19,7 @@ parts:
|
||||
- libc-dev
|
||||
override-pull: |
|
||||
snapcraftctl pull
|
||||
echo 'PKG = "snap"' > $SNAPCRAFT_PART_SRC/dvc/utils/build.py
|
||||
snapcraftctl set-version `cd $SNAPCRAFT_PART_SRC && git describe --tags`
|
||||
apps:
|
||||
dvc:
|
||||
|
||||
Reference in New Issue
Block a user