electron-builder: Snapcraft review fails

  • 20.38.4:
  • x64 snap:

Building with https://hub.docker.com/r/electronuserland/builder Publish with

snap run snapcraft push --release=stable build/clean/build/MQTT-Explorer_0.0.5_amd64.snap

The review when publishing snapcraft fails.

found errors in file output: unusual mode 'rwxr-sr-x' for entry './locales', unable to read or access files in 'squashfs-root/meta' due to mode 'rwxr-sr-x', unusual mode 'rwxr-sr-x' for entry './meta/gui', unusual mode 'rwxr-sr-x' for entry './resources', unusual mode 'rwxr-sr-x' for entry './swiftshader' security-snap-v2_squashfs_files
checksums do not match. Please ensure the snap is created with either 'snapcraft pack <DIR>' (using snapcraft >= 2.38) or 'mksquashfs <dir> <snap> -noappend -comp xz -all-root -no-xattrs -no-fragments'. If using electron-builder, please upgrade to latest stable (>= 20.14.7). See https://forum.snapcraft.io/t/automated-reviews-and-snapcraft-2-38/4982/17 for details. security-snap-v2_squashfs_repack_checksum

https://github.com/thomasnordquist/MQTT-Explorer Steps: (packaging done with docker, publishing with systems snapcraft v3.0.1)

npm install
npm run prepare-release
node_modules/.bin/ts-node package.ts snap

snap run snapcraft push --release=stable build/clean/build/MQTT-Explorer_0.0.5_amd64.snap

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Please try 20.44.3

Fixed in 20.44.0.