Skip to content

Commit

Permalink
Use docker to build snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimver committed Oct 18, 2018
1 parent 27a7cfa commit 29dca5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ set -ex
main() {
if [ $TARGET = 'snap' ]
then
snapcraft
return
fi

Expand Down
2 changes: 1 addition & 1 deletion ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -ex
main() {
if [ $TARGET = snap ]
then
snapcraft
docker run -v $(pwd):$(pwd) -w $(pwd) snapcore/snapcraft sh -c "apt update && snapcraft"
return
fi

Expand Down

0 comments on commit 29dca5e

Please sign in to comment.