diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 31ebb3154..930515d3c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} @@ -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 diff --git a/main/index.ts b/main/index.ts index a8fda75e6..aef5a0a19 100644 --- a/main/index.ts +++ b/main/index.ts @@ -124,7 +124,6 @@ ipcMain.on('tray:clipboardData', (e, data) => { }) ipcMain.on('tray:installAvailableUpdate', (e, version) => { - store.dontRemind(version) store.updateBadge('') updater.fetchUpdate() diff --git a/package.json b/package.json index e97cefcc2..a59f6516b 100644 --- a/package.json +++ b/package.json @@ -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\""