mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-07 15:28:28 +01:00
snap: build fixes (#3990)
* snap: drop sudo Fixes #3989 * snap: ci: fix builds * snap: ci: developer notifications * snap: minimise size * debug commit * Revert "snap: minimise size" This reverts commit 77b41a96f68b2c8df833803d0a644172b7db4779. * fix image info * Revert "debug commit" This reverts commit 232baf0ad78335b0f3806456a3f20b82cdf0f24c. * snap: v1 channels Related: #3872
This commit is contained in:
@@ -7,7 +7,7 @@ if [ ! -d "dvc" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo snapcraft --use-lxd
|
||||
sg lxd -c snapcraft
|
||||
|
||||
pip uninstall -y dvc
|
||||
if which dvc; then
|
||||
|
||||
@@ -53,10 +53,10 @@ fi
|
||||
|
||||
if [[ -n "$TRAVIS_TAG" ]]; then
|
||||
if [[ $(echo "$TRAVIS_TAG" | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$') ]]; then
|
||||
echo "export SNAP_CHANNEL=stable" >>env.sh
|
||||
echo "export SNAP_CHANNEL=stable,v1/stable" >>env.sh
|
||||
else
|
||||
echo "export SNAP_CHANNEL=beta" >>env.sh
|
||||
echo "export SNAP_CHANNEL=beta,v1/beta" >>env.sh
|
||||
fi
|
||||
else
|
||||
echo "export SNAP_CHANNEL=edge" >>env.sh
|
||||
echo "export SNAP_CHANNEL=edge,v1/edge" >>env.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user