Skip to content

Commit

Permalink
Merge pull request #1225 from crypto-com/dev
Browse files Browse the repository at this point in the history
Temporarily skip Windows release
  • Loading branch information
crypto-matto authored Aug 24, 2022
2 parents eaee257 + 0a7f6aa commit eb2cd7b
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 deletions.
88 changes: 44 additions & 44 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
# Log in to Snap Store
snapcraft_token: ${{ secrets.snapcraft_token }}

- name: Install AzureSignTool
# Only install Azure Sign Tool on Windows
if: startsWith(matrix.os, 'windows')
run: dotnet tool install --global AzureSignTool
# - name: Install AzureSignTool
# # Only install Azure Sign Tool on Windows
# if: startsWith(matrix.os, 'windows')
# run: dotnet tool install --global AzureSignTool

- name: Extract current branch name
shell: bash
Expand Down Expand Up @@ -96,43 +96,43 @@ jobs:
API_KEY_ID: ${{ secrets.mac_api_key_id }}
API_KEY_ISSUER_ID: ${{ secrets.mac_api_key_issuer_id }}

- name: Build Electron app (Windows)
if: startsWith(matrix.os, 'windows')
run: |
yarn run electron:build
- name: Sign built binary (Windows)
if: startsWith(matrix.os, 'windows')
# Instead of pointing to a specific .exe, uses a PowerShell script which iterates through all the files stored in dist folder.
# If the file has the .exe extension, then it will use the AzureSignTool command to sign it.
run: |
cd dist; Get-ChildItem -recurse -Include **.exe | ForEach-Object {
$exePath = $_.FullName
& AzureSignTool sign -kvu "${{ secrets.azure_key_vault_url }}" -kvi "${{ secrets.azure_key_vault_client_id }}" -kvt "${{ secrets.azure_key_vault_tenant_id }}" -kvs "${{ secrets.azure_key_vault_client_secret }}" -kvc "${{ secrets.azure_key_vault_name }}" -tr http://timestamp.digicert.com -v $exePath
}; cd ..
- name: Cleanup artifacts (Windows)
if: startsWith(matrix.os, 'windows')
run: |
mkdir dist/temp; Move-Item -Path dist/*.exe, dist/*.blockmap, dist/latest.yml -Destination dist/temp
npx rimraf "dist/!(temp)"
npx rimraf "dist/.icon-ico"
mv dist/temp/* dist
npx rimraf "dist/temp"
- name: Upload artifacts (Windows)
uses: actions/upload-artifact@v2
if: startsWith(matrix.os, 'windows')
with:
name: ${{ matrix.os }}
path: dist

- name: Release Electron app (Windows)
uses: softprops/action-gh-release@v1
if: startsWith(matrix.os, 'windows')
with:
draft: true
tag_name: v${{ steps.package_json.outputs.version }}
files: "dist/**"
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
# - name: Build Electron app (Windows)
# if: startsWith(matrix.os, 'windows')
# run: |
# yarn run electron:build

# - name: Sign built binary (Windows)
# if: startsWith(matrix.os, 'windows')
# # Instead of pointing to a specific .exe, uses a PowerShell script which iterates through all the files stored in dist folder.
# # If the file has the .exe extension, then it will use the AzureSignTool command to sign it.
# run: |
# cd dist; Get-ChildItem -recurse -Include **.exe | ForEach-Object {
# $exePath = $_.FullName
# & AzureSignTool sign -kvu "${{ secrets.azure_key_vault_url }}" -kvi "${{ secrets.azure_key_vault_client_id }}" -kvt "${{ secrets.azure_key_vault_tenant_id }}" -kvs "${{ secrets.azure_key_vault_client_secret }}" -kvc "${{ secrets.azure_key_vault_name }}" -tr http://timestamp.digicert.com -v $exePath
# }; cd ..

# - name: Cleanup artifacts (Windows)
# if: startsWith(matrix.os, 'windows')
# run: |
# mkdir dist/temp; Move-Item -Path dist/*.exe, dist/*.blockmap, dist/latest.yml -Destination dist/temp
# npx rimraf "dist/!(temp)"
# npx rimraf "dist/.icon-ico"
# mv dist/temp/* dist
# npx rimraf "dist/temp"

# - name: Upload artifacts (Windows)
# uses: actions/upload-artifact@v2
# if: startsWith(matrix.os, 'windows')
# with:
# name: ${{ matrix.os }}
# path: dist

# - name: Release Electron app (Windows)
# uses: softprops/action-gh-release@v1
# if: startsWith(matrix.os, 'windows')
# with:
# draft: true
# tag_name: v${{ steps.package_json.outputs.version }}
# files: "dist/**"
# env:
# GITHUB_TOKEN: ${{ secrets.github_token }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
*Unreleased*

*Released*
## [v1.3.0] - 2022-08-05
## [v1.3.0] - 2022-08-24
### Additions
- Ethereum Chain Support
- Cosmos Hub ATOM Support
Expand Down

0 comments on commit eb2cd7b

Please sign in to comment.