Skip to content

Commit

Permalink
Merge pull request #588 from alephium/next
Browse files Browse the repository at this point in the history
Next -> master
  • Loading branch information
nop33 authored May 27, 2024
2 parents 1b8e75e + 93a5f74 commit 008dff8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8
echo '${{ secrets.mac_certs }}' | base64 -d > applecert.p12
- name: Extract platform name
id: get-os
run: echo "os=$(echo ${{ matrix.os }} | cut -d- -f1)" >> $GITHUB_OUTPUT
- name: Extract args
if: startsWith(matrix.os, 'macos')
id: get-args
run: echo "args=--universal" >> $GITHUB_OUTPUT
shell: bash

- name: Install Snapcraft
Expand All @@ -40,12 +41,13 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/alephium-desktop-wallet@') }}
with:
package_root: 'apps/desktop-wallet'
build_script_name: 'ci:build:electron:${{ steps.get-os.outputs.os }}'
build_script_name: 'ci:build'
is_monorepo: true
release: true
github_token: ${{ secrets.github_token }}
mac_certs: ${{ secrets.MAC_CERTS }}
mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }}
args: ${{ steps.get-args.outputs.args }}
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
Expand Down
4 changes: 3 additions & 1 deletion apps/desktop-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alephium-desktop-wallet",
"description": "The official Alephium wallet",
"version": "2.3.1",
"version": "2.3.2",
"author": "Alephium dev <dev@alephium.org>",
"main": "public/electron.js",
"homepage": "./",
Expand All @@ -21,6 +21,7 @@
"ci:build:electron:ubuntu": "turbo run build:electron:ubuntu",
"ci:build:electron:windows": "turbo run build:electron:windows",
"ci:build:electron:macos": "turbo run build:electron:macos",
"ci:build": "turbo run build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest watch",
Expand Down Expand Up @@ -181,6 +182,7 @@
},
"mac": {
"hardenedRuntime": true,
"defaultArch": "universal",
"entitlements": "../../node_modules/electron-builder-notarize/entitlements.mac.inherit.plist"
},
"directories": {
Expand Down

0 comments on commit 008dff8

Please sign in to comment.