Skip to content

Commit e9dba65

Browse files
MarkoVcodeclaude
andcommitted
feat: inject GH_TOKEN for electron-builder publishing
Added GH_TOKEN secret injection to all build jobs in the release workflow. This allows electron-builder to automatically publish release artifacts to GitHub when a git tag is detected. Changes: - Added GH_TOKEN environment variable to build-linux job - Added GH_TOKEN environment variable to build-windows job - Added GH_TOKEN environment variable to build-macos-x64 job - Added GH_TOKEN environment variable to build-macos-arm64 job - Removed publish: [] from electron-builder config to allow auto-publishing The GH_TOKEN secret needs to be configured in GitHub repository settings for this to work. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e738e84 commit e9dba65

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/brunon-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
contents: read
1818
env:
1919
CSC_IDENTITY_AUTO_DISCOVERY: false
20+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2021
steps:
2122
- uses: actions/checkout@v5
2223
with:
@@ -65,6 +66,7 @@ jobs:
6566
contents: read
6667
env:
6768
CSC_IDENTITY_AUTO_DISCOVERY: false
69+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
6870
steps:
6971
- uses: actions/checkout@v5
7072
with:
@@ -108,6 +110,7 @@ jobs:
108110
contents: read
109111
env:
110112
CSC_IDENTITY_AUTO_DISCOVERY: false
113+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
111114
steps:
112115
- uses: actions/checkout@v5
113116
with:
@@ -151,6 +154,7 @@ jobs:
151154
contents: read
152155
env:
153156
CSC_IDENTITY_AUTO_DISCOVERY: false
157+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
154158
steps:
155159
- uses: actions/checkout@v5
156160
with:

packages/bruno-electron/electron-builder-config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const config = {
1414
appId: 'com.usebruno.app',
1515
productName: productName,
1616
electronVersion: '37.6.1',
17-
publish: [], // Disable auto-publishing to GitHub releases (empty array prevents publishing)
1817
buildVersion: version, // Use the git tag version
1918
directories: {
2019
buildResources: 'resources',

0 commit comments

Comments
 (0)