Skip to content

Commit 29dca5e

Browse files
committed
Use docker to build snaps
1 parent 27a7cfa commit 29dca5e

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

ci/before_deploy.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ set -ex
77
main() {
88
if [ $TARGET = 'snap' ]
99
then
10-
snapcraft
1110
return
1211
fi
1312

ci/script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -ex
77
main() {
88
if [ $TARGET = snap ]
99
then
10-
snapcraft
10+
docker run -v $(pwd):$(pwd) -w $(pwd) snapcore/snapcraft sh -c "apt update && snapcraft"
1111
return
1212
fi
1313

0 commit comments

Comments
 (0)