Skip to content

Commit

Permalink
update(core): added mac universal build and updated release app names (
Browse files Browse the repository at this point in the history
  • Loading branch information
fullstackninja864 authored Jun 21, 2024
1 parent 14c9599 commit 58fe8da
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
repository: 'DeFiCh/app'
tag: 'v${{ env.PACKAGE_VERSION}}'
file: 'DeFi-Wallet-${{ env.PACKAGE_VERSION}}.AppImage'
file: 'DeFi-Wallet-Linux-${{ env.PACKAGE_VERSION}}.AppImage'

- name: Get Release Info with Tag Name
id: latest_release_info
Expand All @@ -56,13 +56,13 @@ jobs:

- name: Generate SHA256 checksum
run: |
sha256sum DeFi-Wallet-${{ env.PACKAGE_VERSION}}.AppImage > DeFi-Wallet-${{ env.PACKAGE_VERSION}}.AppImage.SHA256
sha256sum DeFi-Wallet-Linux-${{ env.PACKAGE_VERSION}}.AppImage > DeFi-Wallet-Linux-${{ env.PACKAGE_VERSION}}.AppImage.SHA256
- name: Upload checksum - Linux
uses: softprops/action-gh-release@a80139913ad69754b738283897e8a1e3362b1a03
with:
fail_on_unmatched_files: true
files: ./DeFi-Wallet-${{ env.PACKAGE_VERSION}}.AppImage.SHA256
files: ./DeFi-Wallet-Linux-${{ env.PACKAGE_VERSION}}.AppImage.SHA256
token: ${{ secrets.GITHUB_TOKEN }}

publish_mac_version:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
with:
repository: 'DeFiCh/app'
tag: 'v${{ env.PACKAGE_VERSION}}'
file: 'DeFi-Wallet-${{ env.PACKAGE_VERSION}}.dmg'
file: 'DeFi-Wallet-Mac-${{ env.PACKAGE_VERSION}}.dmg'

- name: Get Release Info with Tag Name
id: latest_release_info
Expand All @@ -121,13 +121,13 @@ jobs:

- name: Generate SHA256 checksum
run: |
sha256sum DeFi-Wallet-${{ env.PACKAGE_VERSION}}.dmg > DeFi-Wallet-${{ env.PACKAGE_VERSION}}.dmg.SHA256
sha256sum DeFi-Wallet-Mac-${{ env.PACKAGE_VERSION}}.dmg > DeFi-Wallet-Mac-${{ env.PACKAGE_VERSION}}.dmg.SHA256
- name: Upload checksum - Mac
uses: softprops/action-gh-release@a80139913ad69754b738283897e8a1e3362b1a03
with:
fail_on_unmatched_files: true
files: ./DeFi-Wallet-${{ env.PACKAGE_VERSION}}.dmg.SHA256
files: ./DeFi-Wallet-Mac-${{ env.PACKAGE_VERSION}}.dmg.SHA256
token: ${{ secrets.GITHUB_TOKEN }}

publish_windows_version:
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
with:
repository: 'DeFiCh/app'
tag: 'v${{ env.PACKAGE_VERSION}}'
file: 'DeFi-Wallet-Setup-${{ env.PACKAGE_VERSION}}.exe'
file: 'DeFi-Wallet-Windows-Setup-${{ env.PACKAGE_VERSION}}.exe'

- name: Get Release Info with Tag Name
id: latest_release_info
Expand All @@ -179,11 +179,11 @@ jobs:

- name: Generate SHA256 checksum
run: |
sha256sum DeFi-Wallet-Setup-${{ env.PACKAGE_VERSION}}.exe > DeFi-Wallet-Setup-${{ env.PACKAGE_VERSION}}.exe.SHA256
sha256sum DeFi-Wallet-Windows-Setup-${{ env.PACKAGE_VERSION}}.exe > DeFi-Wallet-Windows-Setup-${{ env.PACKAGE_VERSION}}.exe.SHA256
- name: Upload checksum - Windows
uses: softprops/action-gh-release@a80139913ad69754b738283897e8a1e3362b1a03
with:
fail_on_unmatched_files: true
files: ./DeFi-Wallet-Setup-${{ env.PACKAGE_VERSION}}.exe.SHA256
files: ./DeFi-Wallet-Windows-Setup-${{ env.PACKAGE_VERSION}}.exe.SHA256
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "defi-wallet",
"version": "4.1.0",
"version": "4.1.1",
"description": "DeFi Wallet",
"main": "./electron-app/build/electron-app/index.js",
"author": {
Expand Down Expand Up @@ -166,9 +166,11 @@
"target": [
{
"target": "dmg",
"arch": ["x64", "arm64"]
"arch": ["x64", "arm64", "universal"]
}
],
"mergeASARs": true,
"x64ArchFiles": "*",
"type": "distribution",
"hardenedRuntime": true,
"entitlements": "electron-app/assets/entitlements.mac.plist",
Expand Down
2 changes: 1 addition & 1 deletion webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "defi-wallet",
"version": "4.1.0",
"version": "4.1.1",
"description": "DeFi Wallet",
"author": {
"name": "DeFiChain Foundation",
Expand Down

0 comments on commit 58fe8da

Please sign in to comment.