Skip to content

Commit

Permalink
updates for v0.6 builds (#1455)
Browse files Browse the repository at this point in the history
* remove dontRemind on installAvailableUpdate

* update build workflow branch

* update existing release check

* update npm script test:unit:components
  • Loading branch information
floating authored Feb 24, 2023
1 parent 7f2e1ec commit aa72dbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and publish installer artifacts for all platforms
on:
push:
branches:
- '0.5'
- '0.6'

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -18,7 +18,7 @@ jobs:
id: package-version
uses: martinbeentjes/npm-get-version-action@master
- name: check for existing release
run: gh release list --exclude-drafts | grep -e ".*v${{ steps.package-version.outputs.current-version }}" || exit 1
run: gh release list --exclude-drafts | grep -q ".*v${{ steps.package-version.outputs.current-version }}" && exit 1 || true
- name: remove old draft releases
run: gh release list | grep -e "Draft.*v${{ steps.package-version.outputs.current-version }}" | awk '{print $3}' | xargs -r gh release delete
- name: create new draft release
Expand Down
1 change: 0 additions & 1 deletion main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ ipcMain.on('tray:clipboardData', (e, data) => {
})

ipcMain.on('tray:installAvailableUpdate', (e, version) => {
store.dontRemind(version)
store.updateBadge('')

updater.fetchUpdate()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"test:unit": "npm run test:unit:main && npm run test:unit:components && npm run test:unit:resources",
"test:unit:main": "npm run test:exec -- --env=node ./test/main",
"test:unit:resources": "npm run test:exec -- --env=node --roots=test/resources --testPathIgnorePatterns=\\(/Components/ /Hooks/\\)",
"test:unit:components": "npm run test:exec -- --env=jsdom --roots 'test/app' 'test/resources/Hooks' 'test/resources/Components' --testTimeout=500",
"test:unit:components": "npm run test:exec -- --env=jsdom --roots test/app test/resources/Hooks test/resources/Components --testTimeout=500",
"test:e2e": "npm run test:exec -- --env=node --config ./jest.e2e.config.json ./test/e2e",
"test:usbAdapters": "ELECTRON_RUN_AS_NODE=true ./node_modules/.bin/electron ./node_modules/jest/bin/jest.js ./test/main/signers/ledger/adapter.test.js --testPathIgnorePatterns=''",
"local:rpc": "ganache-cli --account=\"0x2d6945dbddb8dcf5492004e6f720f8e971196ff61a61c4be99714ebc71e06c00, 5000000000000000000000\" --account=\"0xaef6a68a47c1628081e4e6df195f5f712ae4eb7da332a6d74dca06ae32a3e7ae,5000\""
Expand Down

0 comments on commit aa72dbf

Please sign in to comment.