Skip to content

Commit 7023e21

Browse files
authored
Bump to 0.0.2 - Finalize Windows (#3)
* Sign installer with a dry run, add in windows icon * Quick debugging * Debugging again for PowerShell * Include both indexes for dry run arg * Remove console log * Bump to 0.02
1 parent b3e1558 commit 7023e21

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed

.github/workflows/build-publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,25 @@ jobs:
8282
trusted-signing-account-name: ${{ secrets.AZURE_CODE_SIGNING_NAME }}
8383
certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }}
8484

85+
- name: Publish to GitHub (Dry Run)
86+
env:
87+
GITHUB_TOKEN: ${{ secrets.PUBLISH_GITHUB_TOKEN }}
88+
run: npm run publish:ci -- -- --dry-run
89+
90+
- name: Sign Windows Installer
91+
if: matrix.platform == 'windows-latest'
92+
uses: azure/[email protected]
93+
with:
94+
files-folder: packages/app/out/make
95+
files-folder-filter: exe,dll,sys,efi,scr,node,msi,appx,appxbundle,msix,msixbundle,cat,cab,xap,vbs,wsf,ps1
96+
files-folder-recurse: true
97+
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
98+
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
99+
azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
100+
endpoint: ${{ secrets.AZURE_ENDPOINT }}
101+
trusted-signing-account-name: ${{ secrets.AZURE_CODE_SIGNING_NAME }}
102+
certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }}
103+
85104
- name: Publish to GitHub
86105
env:
87106
GITHUB_TOKEN: ${{ secrets.PUBLISH_GITHUB_TOKEN }}

packages/app/icons/icon.ico

170 KB
Binary file not shown.

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "toolbase",
33
"productName": "Toolbase",
4-
"version": "0.0.1",
4+
"version": "0.0.2",
55
"description": "Add powerful tools to Claude and your AI in just a few clicks",
66
"main": "./.vite/build/main.js",
77
"type": "module",

packages/app/scripts/publish-without-make.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1+
import process from 'node:process';
12
import { api as forge } from '@electron-forge/core';
23

4+
const isDryRun =
5+
process.argv[2] === '--dry-run' || process.argv[3] === '--dry-run';
6+
7+
console.log(isDryRun ? 'Starting a dry run' : 'Publishing from dry run');
8+
39
await forge.publish({
10+
dryRun: isDryRun,
11+
dryRunResume: !isDryRun,
412
makeOptions: {
513
skipPackage: true,
614
},

0 commit comments

Comments
 (0)