Skip to content

Commit

Permalink
move commands into Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
antondlr committed Aug 7, 2023
1 parent 87950a9 commit 6ea31e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ jobs:
APPLE_ID: ${{ secrets.APPLE_ID }}
if: ${{ matrix.platform == 'macos-latest' }}
run: |
npm install -g electron-forge --force
yarn
yarn build
electron-forge make --arch=${{ matrix.arch_short }}
make arch=${{ matrix.arch_short }} release-macos
- name: Move unsigned packages (*nix)
if: startsWith(matrix.arch, 'x86_64-windows') != true
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ docker:
# Compile into a number of releases
release:
yarn && yarn build-all
release-macos:
npm install -g electron-forge --force && \
yarn && \
yarn build && \
electron-forge make --arch=$arch

# Remove compiled artifacts
clean:
Expand Down

0 comments on commit 6ea31e1

Please sign in to comment.