Browse Source

Merge pull request #1601 from meriadec/fix-ci-and-non-linux-packaging

Fix CircleCI config (libfuse) and release on non-linux platforms
gre-patch-1
Gaëtan Renaudeau 6 years ago
committed by GitHub
parent
commit
48f2e4a17f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .circleci/config.yml
  2. 10
      scripts/release.sh

2
.circleci/config.yml

@ -9,7 +9,7 @@ jobs:
build: build:
<<: *defaults <<: *defaults
steps: steps:
- run: sudo apt-get install -y libudev-dev - run: sudo apt-get install -y libudev-dev libfuse-dev
- run: - run:
name: Install latest yarn name: Install latest yarn
command: | command: |

10
scripts/release.sh

@ -69,6 +69,7 @@ fi
runJob "yarn compile" "compiling..." "compiled" "failed to compile" "verbose" runJob "yarn compile" "compiling..." "compiled" "failed to compile" "verbose"
if [[ $(uname) == 'Linux' ]]; then
# -------------------------------------------------------------------- # --------------------------------------------------------------------
# Linux: Internal process error (null) # Linux: Internal process error (null)
# #
@ -114,3 +115,12 @@ scripts/upload-github-release-asset.sh \
repo=ledger-live-desktop \ repo=ledger-live-desktop \
tag="$GH_TAG" \ tag="$GH_TAG" \
filename="dist/latest-linux.yml" filename="dist/latest-linux.yml"
else
runJob \
"DEBUG=electron-builder electron-builder build --publish always" \
"building and packaging app..." \
"app built and packaged successfully" \
"failed to build app" \
"verbose"
fi

Loading…
Cancel
Save