Skip to content

Commit

Permalink
Try publishing with electron-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed May 31, 2022
1 parent 8da3f2d commit 2eed493
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,5 @@ jobs:
run: |
sudo apt update
yarn make:snapcraft
cd electron-app
set +e
yarn build
set -e
echo -e "layout:\n /usr/lib/x86_64-linux-gnu/imlib2:\n bind: \$SNAP/usr/lib/x86_64-linux-gnu/imlib2" >> ./dist/__snap-amd64/snap/snapcraft.yaml
echo "Snapcraft.yaml modified contents w/ layout"
cat ./dist/__snap-amd64/snap/snapcraft.yaml
cd ./dist/__snap-amd64
sudo snapcraft --destructive-mode
sudo snapcraft push *.snap --release stable
env:
SNAPCRAFT_BUILD_ENVIRONMENT: host
2 changes: 1 addition & 1 deletion electron-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"target": [
"snap"
],
"publish": null
"publish": "always"
},
"snap": {
"stagePackages": [
Expand Down

0 comments on commit 2eed493

Please sign in to comment.