Ignore snapcraft upload failures to workaround bug in their CLI, see link

https://forum.snapcraft.io/t/package-upload-is-no-more-enough-for-uploading/19212/6
This commit is contained in:
Ben Gotow 2021-01-19 14:26:55 -06:00
parent e412dba2fd
commit 8983dca204

View file

@ -98,5 +98,5 @@ deploy:
branch: master
condition: $TRAVIS_OS_NAME = linux
provider: script
script: docker run -v $(pwd):$(pwd) -t snapcore/snapcraft sh -c "apt update -qq && cd $(pwd) && snapcraft && snapcraft login --with .snapcraft/credentials && snapcraft push *.snap --release edge"
script: docker run -v $(pwd):$(pwd) -t snapcore/snapcraft sh -c "apt update -qq && cd $(pwd) && snapcraft && snapcraft login --with .snapcraft/credentials && (snapcraft push *.snap --release edge || true)"
skip_cleanup: true