feat: snapcraft release support

This commit is contained in:
Anoop M D
2023-10-12 09:45:23 +05:30
parent 36caa5c2d3
commit 36bf2c8648
5 changed files with 82 additions and 44 deletions

View File

@ -19,4 +19,9 @@ sed -i'' -e 's@/_next/@_next/@g' packages/bruno-electron/web/**.html
# Remove sourcemaps
find packages/bruno-electron/web -name '*.map' -type f -delete
npm run dist --workspace=packages/bruno-electron
if [ "$1" == "snap" ]; then
echo "Building snap distribution"
npm run dist:snap --workspace=packages/bruno-electron
else
echo "Please pass a build distribution type"
fi